diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 6e37d02ecd8..a829876fec3 100755 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -20,6 +20,10 @@ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") # The old Windows build method used renamed (.cc -> .cpp) source files, fails # in #include in mysqlbinlog.cc. So disable that using the USING_CMAKE define. ADD_DEFINITIONS(-DUSING_CMAKE) + +# USE_TLS needed because of bug#28860 +ADD_DEFINITIONS(-DUSE_TLS) + INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/zlib ${CMAKE_SOURCE_DIR}/extra/yassl/include