# HG changeset patch # User Sebastien Jodogne # Date 1591807747 -7200 # Node ID 3e9307f6da6768dfe6cf07114e03ef2f2508b005 # Parent 938257eebc038338d4b4ba3ddfe25fde16db72e0 cont diff -r 938257eebc03 -r 3e9307f6da67 CMakeLists.txt --- a/CMakeLists.txt Wed Jun 10 16:47:06 2020 +0200 +++ b/CMakeLists.txt Wed Jun 10 18:49:07 2020 +0200 @@ -41,8 +41,11 @@ set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") + # Advanced parameters to fine-tune linking against system libraries set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") +set(ORTHANC_FRAMEWORK_STATIC OFF CACHE BOOL "If linking against the Orthanc framework system library, indicates whether this library was statically linked") +mark_as_advanced(ORTHANC_FRAMEWORK_STATIC) if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR