Update CMakeLists.txt

This commit is contained in:
Twarit Waikar
2020-05-17 18:51:41 +05:30
committed by GitHub
parent 6d98ee28b5
commit 185ac3ec77

View File

@@ -43,6 +43,7 @@ INCLUDE(EnableWarnings)
# Build options
#
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
OPTION(SONAME "Set the (SO)VERSION of the target" ON)
OPTION(BUILD_SHARED_LIBS "Build Shared Library (OFF for Static)" ON)
OPTION(THREADSAFE "Build libgit2 as threadsafe" ON)