X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Dicts%2FCMakeLists.txt;h=f6ba194f262695f8b5fd5b403f4c19b3375a8684;hb=fd5c14391627c6e42283ced90561271af2a161a2;hp=e0f1797e44eb8bb921f73e46d7031a54071fdf26;hpb=3859a1581c1955f8ad7b0cd70d595d7d24b3dacf;p=gdcm.git diff --git a/Dicts/CMakeLists.txt b/Dicts/CMakeLists.txt index e0f1797e..f6ba194f 100644 --- a/Dicts/CMakeLists.txt +++ b/Dicts/CMakeLists.txt @@ -104,18 +104,21 @@ ENDFOREACH(line) #----------------------------------------------------------------------------- # ... Set the dictionnary -SET(DICOM_DIR_DICTIONARY "${DICOM_DIR_DICTIONARY} \n {0,0,0,0}") +SET(DICOM_DIR_DICTIONARY "${DICOM_DIR_DICTIONARY} \n {0,0,0,0,0}") -CONFIGURE_FILE("${GDCM_SOURCE_DIR}/src/gdcmDefaultDicts.cxx.in" +CONFIGURE_FILE("${GDCM_SOURCE_DIR}/src/gdcmDefaultDicts.cxx.in" "${GDCM_BINARY_DIR}/src/gdcmDefaultDicts.cxx" IMMEDIATE) #----------------------------------------------------------------------------- -INSTALL_FILES(${GDCM_DATA_DIR} .dic - dicomV3 - dicomVR - dicomTS - DicomDir - DictGroupName - gdcm -) +# For now GDCM_INSTALL_NO_DICTIONARY is a hidden variables +IF(NOT GDCM_INSTALL_NO_DICTIONARY) + INSTALL_FILES(${GDCM_INSTALL_DATA_DIR} .dic + dicomV3 + dicomVR + dicomTS + DicomDir + DictGroupName + gdcm + ) +ENDIF(NOT GDCM_INSTALL_NO_DICTIONARY)