Mercurial > hg > orthanc
diff Resources/CMake/DcmtkConfiguration.cmake @ 626:b8322fe3bdba
possibility to disable the use of system dcmtk or boost
author | jodogne |
---|---|
date | Tue, 29 Oct 2013 09:00:44 +0100 |
parents | 27d32fc6209a |
children | 8c29c1056d45 ac8f68cbdbb6 |
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake Fri Oct 25 12:43:02 2013 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Tue Oct 29 09:00:44 2013 +0100 @@ -1,6 +1,6 @@ add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR}") -if (${STATIC_BUILD}) +if (STATIC_BUILD OR NOT USE_SYSTEM_DCMTK) SET(DCMTK_VERSION_NUMBER 360) SET(DCMTK_SOURCES_DIR ${CMAKE_BINARY_DIR}/dcmtk-3.6.0) DownloadPackage(