comparison Resources/CMake/DcmtkConfiguration.cmake @ 1334:7f0aa3c0f659

code improvements
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Mar 2015 15:28:19 +0200
parents dd6d7fd82da9
children afaa55d42ddd
comparison
equal deleted inserted replaced
1333:732b6a4ed541 1334:7f0aa3c0f659
1 # Lookup for DICOM dictionaries, if none is specified by the user 1 # Lookup for DICOM dictionaries, if none is specified by the user
2 if (DCMTK_DICTIONARY_DIR STREQUAL "") 2 if (DCMTK_DICTIONARY_DIR STREQUAL "")
3 find_path(DCMTK_DICTIONARY_DIR_AUTO dicom.dic 3 find_path(DCMTK_DICTIONARY_DIR_AUTO dicom.dic
4 /usr/share/dcmtk 4 /usr/share/dcmtk
5 /usr/share/libdcmtk2 5 /usr/share/libdcmtk2
6 /usr/local/share/dcmtk
6 ) 7 )
7 8
8 message("Autodetected path to the DICOM dictionaries: ${DCMTK_DICTIONARY_DIR_AUTO}") 9 message("Autodetected path to the DICOM dictionaries: ${DCMTK_DICTIONARY_DIR_AUTO}")
9 add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR_AUTO}") 10 add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR_AUTO}")
10 else() 11 else()