blob: c4cc2d43d93b718b2f8a6c0a2f90f5de4e8fea2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -aurN a/storage/ndb/CMakeLists.txt b/storage/ndb/CMakeLists.txt
--- a/storage/ndb/CMakeLists.txt 2015-02-10 12:21:44.502545905 -0500
+++ b/storage/ndb/CMakeLists.txt 2015-02-10 12:30:53.985233768 -0500
@@ -145,7 +145,9 @@
# Add HAVE_NDB_BINLOG to the list of compile definitions used when compiling
# the ndbcluster plugin library(NOTE! there is also ndbcluster_embedded which
# is compiled without this define)
-NDB_ADD_TARGET_PROPERTY(ndbcluster COMPILE_DEFINITIONS "HAVE_NDB_BINLOG")
+IF(NOT WITHOUT_SERVER)
+ NDB_ADD_TARGET_PROPERTY(ndbcluster COMPILE_DEFINITIONS "HAVE_NDB_BINLOG")
+ENDIF()
IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
MESSAGE(STATUS "Building NDB 32-bit")
|