--- client/CMakeLists.txt.orig	2014-03-15 18:08:38.000000000 +0100
+++ client/CMakeLists.txt	2014-03-22 19:41:40.272474641 +0100
@@ -37,9 +37,11 @@
   TARGET_LINK_LIBRARIES(mysql ${EDITLINE_LIBRARY})
 ENDIF(UNIX)
 
+IF(FALSE)
 MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
 SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
 TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex)
+ENDIF()
 
 
 MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)
@@ -51,15 +53,19 @@
 MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c)
 TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient)
 
+IF(FALSE)
 MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c)
 TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient)
 ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs)
+ENDIF()
 
 MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
 TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient)
 
+IF(FALSE)
 MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)
 TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient)
+ENDIF()
 
 MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc
                      ../sql/rpl_filter.cc ../sql/sql_list.cc)
@@ -81,8 +87,6 @@
 ENDIF(WIN32)
 
 SET_TARGET_PROPERTIES (
-  mysql_plugin 
-  mysql_upgrade
   mysqlcheck
   mysqldump
   mysqlimport
