From d22e2ce7da7d5e42d6aaa6adff65593a60a66b24 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 1 Dec 2023 16:53:31 +0100 Subject: [PATCH] cmake: Change default GPDS target from static to shared library version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c796be6..40641f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ option(QSCHEMATIC_BUILD_DEMO "Whether to build the demo project" ON) option(QSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD "Whether to pull the GPDS dependency via FetchContent" ON) # User settings -set(QSCHEMATIC_DEPENDENCY_GPDS_TARGET "gpds::gpds-static" CACHE STRING "The CMake target of the GPDS library to use") +set(QSCHEMATIC_DEPENDENCY_GPDS_TARGET "gpds::gpds-shared" CACHE STRING "The CMake target of the GPDS library to use") set(CMAKE_DEBUG_POSTFIX d) # When using MSVC, only allow enabling either static or shared libs but not both to prevent name conflicts on the resulting *.LIB targets