Mercurial > hg > orthanc-webviewer
comparison CMakeLists.txt @ 270:3e9307f6da67
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 18:49:07 +0200 |
parents | 938257eebc03 |
children | 2c3555b8eabc |
comparison
equal
deleted
inserted
replaced
269:938257eebc03 | 270:3e9307f6da67 |
---|---|
39 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") | 39 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc framework (can be \"system\", \"hg\", \"archive\", \"web\" or \"path\")") |
40 set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") | 40 set(ORTHANC_FRAMEWORK_VERSION "${ORTHANC_FRAMEWORK_DEFAULT_VERSION}" CACHE STRING "Version of the Orthanc framework") |
41 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") | 41 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") |
42 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") | 42 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") |
43 | 43 |
44 | |
44 # Advanced parameters to fine-tune linking against system libraries | 45 # Advanced parameters to fine-tune linking against system libraries |
45 set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") | 46 set(USE_SYSTEM_ORTHANC_SDK ON CACHE BOOL "Use the system version of the Orthanc plugin SDK") |
47 set(ORTHANC_FRAMEWORK_STATIC OFF CACHE BOOL "If linking against the Orthanc framework system library, indicates whether this library was statically linked") | |
48 mark_as_advanced(ORTHANC_FRAMEWORK_STATIC) | |
46 | 49 |
47 | 50 |
48 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR | 51 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR |
49 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR | 52 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR |
50 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR | 53 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR |