aboutsummaryrefslogtreecommitdiffstatsci
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-05 18:52:47 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-05 18:52:47 +0100
commitb3013732ffe957758ba1c857e11b1c9bebc68d7c (patch)
tree959f59e00a2697954d2506ee5b5c16da6bc3c283
parenteacf8c433edb8b024c4edaa2564ba7dcaadf51a1 (diff)
build shared libs cmake option
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f719f11..988c4c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.21)
+OPTION (BUILD_SHARED_LIBS "Build using shared libraries" ON)
OPTION(VKH_ENABLE_VMA "enable Vulkan Memory Allocator" ON)
+
if (VKH_ENABLE_VMA)
SET(LANG "CXX")
ELSE()