--- sql/CMakeLists.txt.orig 2019-10-21 05:17:49 UTC +++ sql/CMakeLists.txt @@ -442,7 +442,7 @@ ADD_CUSTOM_TARGET( DEPENDS ${GEN_DIGEST_SOURCES} ) - +IF(FALSE) MYSQL_ADD_PLUGIN(udf_example udf_example.cc MODULE_ONLY TEST_ONLY MODULE_OUTPUT_NAME "udf_example") IF(NOT DISABLE_SHARED) @@ -452,6 +452,7 @@ IF(NOT DISABLE_SHARED) "/DEF:${CMAKE_CURRENT_SOURCE_DIR}/udf_example.def") ENDIF() ENDIF() +ENDIF() FOREACH(tool gtar tar git) STRING(TOUPPER ${tool} TOOL) @@ -477,6 +478,7 @@ ADD_CUSTOM_TARGET(distclean IF(INSTALL_LAYOUT STREQUAL "STANDALONE") +IF(FALSE) # Copy db.opt into data/test/ SET(DBOPT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/db.opt ) INSTALL(FILES ${DBOPT_FILE} DESTINATION data/test COMPONENT DataFiles) @@ -519,6 +521,7 @@ IF(WIN32 AND MYSQLD_EXECUTABLE) ELSE() # Not windows or cross compiling, just install an empty directory INSTALL(FILES ${DUMMY_FILE} DESTINATION data/mysql COMPONENT DataFiles) +ENDIF() ENDIF() ENDIF()