Mercurial > hg > orthanc-wsi
view Resources/CMake/Version.cmake @ 141:c9271bb5ef94
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Apr 2018 20:04:56 +0200 |
parents | a0f9a3df1110 |
children | 38d12348a153 |
line wrap: on
line source
set(ORTHANC_WSI_VERSION "mainline") if (ORTHANC_WSI_VERSION STREQUAL "mainline") set(ORTHANC_FRAMEWORK_VERSION "mainline") set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") else() set(ORTHANC_FRAMEWORK_VERSION "1.3.1") set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") endif() add_definitions( -DORTHANC_WSI_VERSION="${ORTHANC_WSI_VERSION}" ) set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")") 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\"")