changeset 367:301f2831489c

fix of issue #2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Feb 2013 22:08:59 +0100
parents 68fd4de63eae
children 80011cd589e6
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Thu Feb 07 09:32:53 2013 +0100
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Thu Feb 07 22:08:59 2013 +0100
@@ -70,7 +70,12 @@
 
   set(DCMTK_BUNDLES_LOG4CPLUS 1)
 
-  add_definitions(-DDCMTK_USE_EMBEDDED_DICTIONARIES=1)
+  if (STANDALONE_BUILD)
+    add_definitions(-DDCMTK_USE_EMBEDDED_DICTIONARIES=1)
+  else()
+    add_definitions(-DDCMTK_USE_EMBEDDED_DICTIONARIES=0)
+  endif()
+
   set(DCMTK_DICTIONARIES
     DICTIONARY_DICOM ${DCMTK_SOURCES_DIR}/dcmdata/data/dicom.dic
     DICTIONARY_PRIVATE ${DCMTK_SOURCES_DIR}/dcmdata/data/private.dic