blob: 915ad1d39a9150d6dcdfc56e5b937e075394d771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff -aurwN mysql.orig/CMakeLists.txt mysql/CMakeLists.txt
--- a/CMakeLists.txt 2014-07-18 11:48:39.000000000 -0400
+++ b/CMakeLists.txt 2014-08-01 12:54:52.612732241 -0400
@@ -531,7 +531,9 @@
# Add bundled yassl/taocrypt or system openssl.
MYSQL_CHECK_SSL()
# Add libevent
-MYSQL_CHECK_LIBEVENT()
+IF(NOT WITHOUT_SERVER)
+ MYSQL_CHECK_LIBEVENT()
+ENDIF()
# Add lz4 library
MYSQL_CHECK_LZ4()
# Add protoc and libprotobuf
@@ -626,10 +626,10 @@
# scripts/mysql_config depends on client and server targets loaded above.
# It is referenced by some of the directories below, so we insert it here.
ADD_SUBDIRECTORY(scripts)
+ADD_SUBDIRECTORY(support-files)
IF(NOT WITHOUT_SERVER)
ADD_SUBDIRECTORY(mysql-test)
ADD_SUBDIRECTORY(mysql-test/lib/My/SafeProcess)
- ADD_SUBDIRECTORY(support-files)
IF(EXISTS ${CMAKE_SOURCE_DIR}/internal/CMakeLists.txt)
ADD_SUBDIRECTORY(internal)
|