diff options
author | James Le Cuirot <chewi@aura-online.co.uk> | 2014-08-11 22:43:29 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@aura-online.co.uk> | 2014-08-11 22:43:29 +0100 |
commit | fd4a4b8ff7edef4952e77c723b067b54d31e54be (patch) | |
tree | 07d5ff68bdc601db4d70607fa776a4eba0eb506c /CMakeLists.txt | |
parent | 22a64047d14d1199ced885f63bcccd39459681d6 (diff) | |
download | mariadb-git-fd4a4b8ff7edef4952e77c723b067b54d31e54be.tar.gz |
MDEV-6562: Fix WITHOUT_SERVER build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c5752d3e931..134530cc72d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -466,7 +466,10 @@ ENDIF() ADD_SUBDIRECTORY(packaging/solaris) IF(NOT CMAKE_CROSSCOMPILING) - SET(EXPORTED comp_err comp_sql factorial gen_lex_hash) + SET(EXPORTED comp_err comp_sql factorial) + IF(NOT WITHOUT_SERVER) + SET(EXPORTED ${EXPORTED} gen_lex_hash) + ENDIF() # minimal target to build only binaries for export ADD_CUSTOM_TARGET(import_executables DEPENDS ${EXPORTED}) EXPORT(TARGETS ${EXPORTED} FILE ${CMAKE_BINARY_DIR}/import_executables.cmake) |