We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6493964 + a35653d commit e1c2ce6Copy full SHA for e1c2ce6
CMakeLists.txt
@@ -29,10 +29,11 @@ message(STATUS Configuring Kokkos-Tools)
29
message(STATUS)
30
31
# Common settings
32
-set(BUILD_SHARED_LIBS ON)
+set(BUILD_SHARED_LIBS_INIT ON)
33
if(WIN32)
34
- set(BUILD_SHARED_LIBS OFF) # We need to add __declspec(dllexport/dllimport) for Windows DLLs
+ set(BUILD_SHARED_LIBS_INIT OFF) # We need to add __declspec(dllexport/dllimport) for Windows DLLs
35
endif()
36
+option(BUILD_SHARED_LIBS "Build shared libraries" ${BUILD_SHARED_LIBS_INIT})
37
38
# Tools settings
39
option(KokkosTools_ENABLE_SINGLE "Build single library interfacing all profilers and dispatching at runtime" OFF)
0 commit comments