changeset 90:10184c6eabc0

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 28 Sep 2012 11:51:29 +0200
parents 74156c8b6f00
children c35eee0cbd12
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Wed Sep 26 18:01:41 2012 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Fri Sep 28 11:51:29 2012 +0200
@@ -1,4 +1,7 @@
-if (${STATIC_BUILD})
+# We always statically link against DCMTK 3.6.0, as there are many
+# differences wrt. DCMTK 3.5.x.
+
+if (ON) ## ${STATIC_BUILD})
   SET(DCMTK_SOURCES_DIR ${CMAKE_BINARY_DIR}/dcmtk-3.6.0)
   DownloadPackage("ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/dcmtk-3.6.0.zip" "${DCMTK_SOURCES_DIR}" "" "")