From a051cce47bc8cf84ac8cf87d014304e21ae0aa42 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 23 Feb 2016 11:38:15 +0100 Subject: [PATCH] Add optional system libraries to the executable. --- arangod/CMakeLists.txt | 1 + arangosh/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/arangod/CMakeLists.txt b/arangod/CMakeLists.txt index 32efba2ff4..fb2e819152 100644 --- a/arangod/CMakeLists.txt +++ b/arangod/CMakeLists.txt @@ -288,6 +288,7 @@ add_executable( target_link_libraries( ${BIN_ARANGOD} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_FE} ${LIB_ARANGO_V8} ${LIB_ARANGO} diff --git a/arangosh/CMakeLists.txt b/arangosh/CMakeLists.txt index 3acdb30a00..405f7d24b0 100644 --- a/arangosh/CMakeLists.txt +++ b/arangosh/CMakeLists.txt @@ -47,6 +47,7 @@ add_executable( target_link_libraries( ${BIN_ARANGOB} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_CLIENT} ${LIB_ARANGO} ${BT_LIBS} @@ -101,6 +102,7 @@ add_executable( target_link_libraries( ${BIN_ARANGODUMP} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_CLIENT} ${LIB_ARANGO} ${V8_LIBS} @@ -154,6 +156,7 @@ add_executable( ) target_link_libraries( ${BIN_ARANGOIMP} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_CLIENT} ${LIB_ARANGO} ${ICU_LIBS} @@ -206,6 +209,7 @@ add_executable( target_link_libraries( ${BIN_ARANGORESTORE} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_CLIENT} ${LIB_ARANGO} ${ICU_LIBS} @@ -261,6 +265,7 @@ add_executable( target_link_libraries( ${BIN_ARANGOSH} + ${SYSTEM_LIBRARIES} ${LIB_ARANGO_V8} ${LIB_ARANGO_CLIENT} ${LIB_ARANGO}