--- client/CMakeLists.txt	2018-02-01 14:51:01.000000000 +0100
+++ client/CMakeLists.txt.new	2018-02-20 15:53:56.534072000 +0100
@@ -37,10 +37,12 @@
   TARGET_LINK_LIBRARIES(mysql ${MY_READLINE_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)
 ADD_DEPENDENCIES(mysqltest GenError)
+ENDIF()
 
 MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)
 TARGET_LINK_LIBRARIES(mysqlcheck perconaserverclient)
@@ -52,15 +54,19 @@
 TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient)
 SET_SOURCE_FILES_PROPERTIES(mysqlimport.c PROPERTIES COMPILE_FLAGS "-DTHREADS")
 
+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)
@@ -82,8 +88,6 @@
 ENDIF(WIN32)
 
 SET_TARGET_PROPERTIES (
-  mysql_plugin 
-  mysql_upgrade
   mysqlcheck
   mysqldump
   mysqlimport
