diff Resources/CMake/DcmtkConfiguration.cmake @ 494:012b63028085

CMake parameter for the location of DCMTK dictionaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Jul 2013 13:45:28 +0200
parents 5f6d75cd4b46
children 5bb96a6100c0
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Wed Jul 17 12:48:29 2013 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Wed Jul 17 13:45:28 2013 +0200
@@ -1,3 +1,5 @@
+add_definitions(-DDCMTK_DICTIONARY_DIR="${DCMTK_DICTIONARY_DIR}")
+
 if (${STATIC_BUILD})
   SET(DCMTK_VERSION_NUMBER 360)
   SET(DCMTK_SOURCES_DIR ${CMAKE_BINARY_DIR}/dcmtk-3.6.0)