summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a152839..44de303 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,10 @@ if(DAW_BUILD_DEBUG AND NOT_SUBPROJECT)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
endif()
+if(DAW_BUILD_HOTRELOAD)
+ set(BUILD_SHARED_LIBS ON)
+endif()
+
if(DAW_BUILD_UBSAN AND DAW_BUILD_ASAN)
message(FATAL_ERROR "You cannot build both asan and ubsan")
endif()