comparison OrthancStone/Resources/CMake/OrthancStoneConfiguration.cmake @ 1546:94750ef63ad5

support of Orthanc framework shared library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2020 17:09:59 +0200
parents ae17c8c8838f
children a48ae10857b1
comparison
equal deleted inserted replaced
1545:aee0f5f9cf71 1546:94750ef63ad5
21 ##################################################################### 21 #####################################################################
22 ## Configure the Orthanc Framework 22 ## Configure the Orthanc Framework
23 ##################################################################### 23 #####################################################################
24 24
25 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") 25 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
26 # DCMTK and curl are necessarily enabled if using Orthanc framework:
27 # "DownloadOrthancFramework.cmake" must be aware of this fact
28 set(ENABLE_DCMTK ON)
29 set(ENABLE_WEB_CLIENT ON)
30
26 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/DownloadOrthancFramework.cmake) 31 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/DownloadOrthancFramework.cmake)
27 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) 32 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES})
28 33
34 set(ENABLE_LOCALE ON)
35
29 else() 36 else()
30 if (ENABLE_DCMTK) 37 if (ENABLE_DCMTK)
31 set(ENABLE_LOCALE ON) 38 set(ENABLE_LOCALE ON)
32 else() 39 else()
33 if (NOT DEFINED ENABLE_LOCALE) 40 if (NOT DEFINED ENABLE_LOCALE)