From b3013732ffe957758ba1c857e11b1c9bebc68d7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Wed, 5 Jan 2022 18:52:47 +0100 Subject: [PATCH] build shared libs cmake option --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.47.3