Skip to content

Commit

Permalink
cmake: Change default GPDS target from static to shared library version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tectu committed Dec 1, 2023
1 parent 8e0d30d commit d22e2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d22e2ce

Please sign in to comment.