summaryrefslogtreecommitdiff
blob: 99a46fd45f3ed25e64e6b8318f61c63a0b1c1aaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
=== modified file 'CMakeLists.txt'
--- a/CMakeLists.txt	2014-08-07 16:06:56 +0000
+++ b/CMakeLists.txt	2014-08-11 21:43:29 +0000
@@ -466,7 +466,10 @@
 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)