comparison Resources/CMake/DcmtkConfiguration.cmake @ 928:882833632b1f mac

integration mainline -> mac
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Apr 2014 17:02:07 +0200
parents ff1812962f30 ee0d5abf7958
children 27d256e0b458
comparison
equal deleted inserted replaced
927:ff1812962f30 928:882833632b1f
1 add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR}") 1 # Lookup for DICOM dictionaries, if none is specified by the user
2 if (DCMTK_DICTIONARY_DIR STREQUAL "")
3 find_path(DCMTK_DICTIONARY_DIR_AUTO dicom.dic
4 /usr/share/dcmtk
5 /usr/share/libdcmtk2
6 )
7
8 message("Autodetected path to the DICOM dictionaries: ${DCMTK_DICTIONARY_DIR_AUTO}")
9 add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR_AUTO}")
10 else()
11 add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR}")
12 endif()
13
2 14
3 if (STATIC_BUILD OR NOT USE_SYSTEM_DCMTK) 15 if (STATIC_BUILD OR NOT USE_SYSTEM_DCMTK)
4 SET(DCMTK_VERSION_NUMBER 360) 16 SET(DCMTK_VERSION_NUMBER 360)
5 SET(DCMTK_SOURCES_DIR ${CMAKE_BINARY_DIR}/dcmtk-3.6.0) 17 SET(DCMTK_SOURCES_DIR ${CMAKE_BINARY_DIR}/dcmtk-3.6.0)
6 DownloadPackage( 18 DownloadPackage(