From: Jean-Philippe Bruyère Date: Wed, 5 Jan 2022 17:52:47 +0000 (+0100) Subject: build shared libs cmake option X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=b3013732ffe957758ba1c857e11b1c9bebc68d7c;p=jp%2Fvkhelpers.git build shared libs cmake option --- 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()