Skip to content

Commit 037a612

Browse files
committed
cmake: define BUILD_SHARED_LIBS option...
in addition to be able to pass it on cmake invokation tools like ccmake et al. will show it as a configurable option
1 parent 719a932 commit 037a612

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ include(GNUInstallDirs)
1313
include(CMakePackageConfigHelpers)
1414
include(sources.cmake)
1515

16+
#-----------------------------------------------------------------------------
17+
# Options
18+
#-----------------------------------------------------------------------------
19+
option(BUILD_SHARED_LIBS "Build shared library" FALSE)
20+
1621
#-----------------------------------------------------------------------------
1722
# library target
1823
#-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)