From 4ca76d9de4ce8808498aa314e7dad961eef16d5b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 19 May 2025 12:07:24 -0700 Subject: [PATCH] Expressly provide a shared libs option --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7094eb5b7..f13f707f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,7 @@ option(CPP_THREAD_SAFETY_TEST "Run a massively parallel DGEMM test to confirm th option(CPP_THREAD_SAFETY_GEMV "Run a massively parallel DGEMV test to confirm thread safety of the library (requires OpenMP)" OFF) option(BUILD_STATIC_LIBS "Build static library" OFF) +option(BUILD_SHARED_LIBS "Build shared library" OFF) if(NOT BUILD_STATIC_LIBS AND NOT BUILD_SHARED_LIBS) set(BUILD_STATIC_LIBS ON CACHE BOOL "Build static library" FORCE) endif()