--- extra/CMakeLists.txt.orig	2010-12-23 17:38:06.000000000 +0100
+++ extra/CMakeLists.txt	2010-12-23 17:38:51.000000000 +0100
@@ -75,7 +75,9 @@
   MYSQL_ADD_EXECUTABLE(resolve_stack_dump resolve_stack_dump.c)
   TARGET_LINK_LIBRARIES(resolve_stack_dump mysys)
 
+IF(FALSE)
   MYSQL_ADD_EXECUTABLE(mysql_waitpid mysql_waitpid.c)
   TARGET_LINK_LIBRARIES(mysql_waitpid mysys)
 ENDIF()
+ENDIF()
 
