changeset 270:3e9307f6da67

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 18:49:07 +0200
parents 938257eebc03
children d3b58d11e3ec 2c3555b8eabc
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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