diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d60ed15..40cc19f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ ENDIF() string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE) +option(BUILD_SHARED_LIBS "Build shared libs" FALSE) + set(LIBKMS_ENABLE_PYTHON ON CACHE BOOL "Enable Python wrappers") set(LIBKMS_ENABLE_KMSCUBE OFF CACHE BOOL "Enable kmscube") @@ -54,6 +54,7 @@ You can use the following cmake flags to control the build. Use `-DFLAG=VALUE` t Option name | Values | Default | Notes --------------------- | ------------- | -------- | -------- CMAKE_BUILD_TYPE | Release/Debug | Release | +BUILD_SHARED_LIBS | ON/OFF | OFF | LIBKMS_ENABLE_PYTHON | ON/OFF | ON | LIBKMS_ENABLE_KMSCUBEĀ | ON/OFF | OFF | |