changeset 1883:71356f41ec2f

additional locations for dicom.dic
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Dec 2015 09:04:50 +0100
parents 5cf2bd0abfa2
children 7bef560b9782 5be57564ffc4
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Wed Dec 09 09:29:05 2015 +0100
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Fri Dec 11 09:04:50 2015 +0100
@@ -191,7 +191,7 @@
   elseif (EXISTS "${DCMTK_DIR}/config/osconfig.h")  # This is for Arch Linux
     set(DCMTK_CONFIGURATION_FILE "${DCMTK_DIR}/config/osconfig.h")
   else()
-    message(FATAL_ERROR "Please install libdcmtk1-dev")
+    message(FATAL_ERROR "Please install libdcmtk*-dev")
   endif()
 
   # Autodetection of the version of DCMTK
@@ -220,8 +220,12 @@
   if (DCMTK_DICTIONARY_DIR STREQUAL "")
     find_path(DCMTK_DICTIONARY_DIR_AUTO dicom.dic
       /usr/share/dcmtk
+      /usr/share/libdcmtk1
       /usr/share/libdcmtk2
+      /usr/share/libdcmtk3
       /usr/share/libdcmtk4
+      /usr/share/libdcmtk5
+      /usr/share/libdcmtk6
       /usr/local/share/dcmtk
       )