diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 6d4a2a8a8..880f16446 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -20,7 +20,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) # Options -option(BUILD_SHARED_LIBS "Build Basix with shared libraries." OFF) +option(BUILD_SHARED_LIBS "Build Basix with shared libraries." ON) add_feature_info(BUILD_SHARED_LIBS BUILD_SHARED_LIBS "Build Basix with shared libraries.") find_package(BLAS REQUIRED)