Mercurial > hg > orthanc-stone
comparison Resources/CMake/OrthancStone.cmake @ 13:b1eb80ca0d2b
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 14:15:06 +0100 |
parents | 351ab0da0150 |
children | da2cf3ace87a |
comparison
equal
deleted
inserted
replaced
12:9220cf4a63d5 | 13:b1eb80ca0d2b |
---|---|
73 add_definitions(-DORTHANC_ENABLE_CURL=1) | 73 add_definitions(-DORTHANC_ENABLE_CURL=1) |
74 include(${ORTHANC_ROOT}/Resources/CMake/LibCurlConfiguration.cmake) | 74 include(${ORTHANC_ROOT}/Resources/CMake/LibCurlConfiguration.cmake) |
75 | 75 |
76 if (ENABLE_SSL) | 76 if (ENABLE_SSL) |
77 set(ENABLE_PKCS11 OFF) | 77 set(ENABLE_PKCS11 OFF) |
78 add_definitions(-DORTHANC_SSL_ENABLED=1) | 78 add_definitions(-DORTHANC_ENABLE_SSL=1) |
79 include(${ORTHANC_ROOT}/Resources/CMake/OpenSslConfiguration.cmake) | 79 include(${ORTHANC_ROOT}/Resources/CMake/OpenSslConfiguration.cmake) |
80 else() | 80 else() |
81 add_definitions(-DORTHANC_SSL_ENABLED=0) | 81 add_definitions(-DORTHANC_ENABLE_SSL=0) |
82 endif() | 82 endif() |
83 else() | 83 else() |
84 add_definitions( | 84 add_definitions( |
85 -DORTHANC_SSL_ENABLED=0 | 85 -DORTHANC_ENABLE_SSL=0 |
86 -DORTHANC_ENABLE_CURL=0 | 86 -DORTHANC_ENABLE_CURL=0 |
87 ) | 87 ) |
88 endif() | 88 endif() |
89 | 89 |
90 add_definitions( | 90 add_definitions( |
91 -DORTHANC_ENABLE_MD5=0 | 91 -DORTHANC_ENABLE_MD5=0 |
92 -DORTHANC_ENABLE_BASE64=1 | 92 -DORTHANC_ENABLE_BASE64=1 |
93 -DORTHANC_PUGIXML_ENABLED=0 | 93 -DORTHANC_ENABLE_PUGIXML=0 |
94 -DORTHANC_PKCS11_ENABLED=0 | 94 -DORTHANC_ENABLE_PKCS11=0 |
95 ) | 95 ) |
96 | 96 |
97 | 97 |
98 ##################################################################### | 98 ##################################################################### |
99 ## Link the colormaps into the binaries | 99 ## Link the colormaps into the binaries |