diff --git a/CMakeLists.txt b/CMakeLists.txt index 8be94ef..027ea74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,9 +19,7 @@ endif() # All custom build switches. option(WITH_EXAMPLES "Compile examples." NO) option(WITH_TESTS "Compile tests." NO) - -# Build shared libs by default but allow overriding. -set(BUILD_SHARED_LIBS YES CACHE BOOL "Build shared libs.") +option(BUILD_SHARED_LIBS "Build shared libraries." YES) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED YES)