]> Creatis software - gdcm.git/blobdiff - CMakeLists.txt
* src/gdcmDictGroupName.[h|cxx] : add a correlation between a group (number)
[gdcm.git] / CMakeLists.txt
index 6b0db95b35b2a68c122a77566d644b867471143b..c6c273dbf7b9747ad52143e282bd27353d5c08b1 100644 (file)
@@ -135,7 +135,11 @@ FIND_PATH(GDCM_DATA_ROOT gdcm-ACR-LibIDO.acr
 )
 
 # Set the place for the public dictionary, must be set before gdcmConfigure.h
-SET( GDCM_PUB_DICT_PATH "${CMAKE_INSTALL_PREFIX}${GDCM_DATA_DIR}")
+#SET( GDCM_PUB_DICT_PATH "${CMAKE_INSTALL_PREFIX}${GDCM_DATA_DIR}")
+FIND_PATH(GDCM_PUB_DICT_PATH dicomV3.dic
+  ${GDCM_SOURCE_DIR}/Dicts
+  $ENV{PUB_DICT_PATH}
+)
 
 #-----------------------------------------------------------------------------
 # SunOS + old gcc fixes: