Skip to content

Commit 9775b23

Browse files
committed
build: default to enabling shared libraries
We expect to generate the shared library right now. In preparation to build static libraries as well, enable the shared build by default.
1 parent d457d6a commit 9775b23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ project(Foundation
99
C)
1010
enable_testing()
1111

12+
option(BUILD_SHARED_LIBS "build shared libraries" ON)
13+
1214
option(FOUNDATION_ENABLE_LIBDISPATCH "Enable GCD Support" YES)
1315
option(FOUNDATION_PATH_TO_LIBDISPATCH_SOURCE "Path to libdispatch source" "")
1416
option(FOUNDATION_PATH_TO_LIBDISPATCH_BUILD "Path to libdispatch build" "")

0 commit comments

Comments
 (0)