cmake: added BUILD_SHARED_LIBS option (#313)

This commit is contained in:
Daiki Maekawa 2018-04-26 15:46:24 +09:00 committed by Sergiu Deitsch
parent e0341da07b
commit 2faa186e62

View File

@ -20,6 +20,7 @@ set (CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
option (WITH_GFLAGS "Use gflags" ON)
option (WITH_THREADS "Enable multithreading support" ON)
option (WITH_TLS "Enable Thread Local Storage (TLS) support" ON)
option (BUILD_SHARED_LIBS "Build shared libraries" OFF)
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)