From f7d5839d0c94770d34612b61b567e05b74a45f9b Mon Sep 17 00:00:00 2001 From: Volodymyr Medvid Date: Sun, 8 Mar 2015 23:25:26 +0200 Subject: [PATCH] deps: Provide options to disable static linkage Allow dynamic linkage to libunibilium, libtermkey and libvterm. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f6c3513b7..1af79e60a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,15 +187,15 @@ include_directories(SYSTEM ${MSGPACK_INCLUDE_DIRS}) find_package(LuaJit REQUIRED) include_directories(SYSTEM ${LUAJIT_INCLUDE_DIRS}) -set(LIBUNIBILIUM_USE_STATIC ON) +option(LIBUNIBILIUM_USE_STATIC "Use static libunibilium" ON) find_package(LibUnibilium REQUIRED) include_directories(SYSTEM ${LIBUNIBILIUM_INCLUDE_DIRS}) -set(LIBTERMKEY_USE_STATIC ON) +option(LIBTERMKEY_USE_STATIC "Use static libtermkey" ON) find_package(LibTermkey REQUIRED) include_directories(SYSTEM ${LIBTERMEY_INCLUDE_DIRS}) -set(LIBVTERM_USE_STATIC ON) +option(LIBVTERM_USE_STATIC "Use static libvterm" ON) find_package(LibVterm REQUIRED) include_directories(SYSTEM ${LIBVTERM_INCLUDE_DIRS})