From 5b5d3531518ec5d3e900d3e197174990162ca3ff Mon Sep 17 00:00:00 2001 From: Florian Walch Date: Mon, 20 Apr 2015 12:26:39 +0300 Subject: [PATCH] CMake: Don't request static linking for dependencies. For built-in dependencies, shared libraries are removed and static linking is always used. For systemwide dependencies, static linking should not be used. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cf5d63a8d9..fe58ca6dc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,15 +190,12 @@ include_directories(SYSTEM ${MSGPACK_INCLUDE_DIRS}) find_package(LuaJit REQUIRED) include_directories(SYSTEM ${LUAJIT_INCLUDE_DIRS}) -option(UNIBILIUM_USE_STATIC "Use static unibilium" ON) find_package(Unibilium REQUIRED) include_directories(SYSTEM ${UNIBILIUM_INCLUDE_DIRS}) -option(LIBTERMKEY_USE_STATIC "Use static libtermkey" ON) find_package(LibTermkey REQUIRED) include_directories(SYSTEM ${LIBTERMKEY_INCLUDE_DIRS}) -option(LIBVTERM_USE_STATIC "Use static libvterm" ON) find_package(LibVterm REQUIRED) include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS}) @@ -215,7 +212,6 @@ else() endif() if(USE_JEMALLOC) - option(JEMALLOC_USE_STATIC "Use static jemalloc" ON) find_package(JeMalloc) if(JEMALLOC_FOUND) message(STATUS "Using jemalloc instead of libc allocator")