Mercurial > hg > orthanc
diff Resources/CMake/DcmtkConfiguration.cmake @ 1149:dd6d7fd82da9
fix version of dcmtk
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Sep 2014 15:34:08 +0200 |
parents | 3a26bc6e4867 |
children | 7f0aa3c0f659 6784a119484d |
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake Thu Sep 11 14:36:16 2014 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Thu Sep 11 15:34:08 2014 +0200 @@ -40,6 +40,10 @@ set(HAVE_PROTOTYPE_GETSOCKNAME 1) endif() + set(DCMTK_PACKAGE_VERSION "3.6.0") + set(DCMTK_PACKAGE_VERSION_SUFFIX "") + set(DCMTK_PACKAGE_VERSION_NUMBER 360) + CONFIGURE_FILE( ${DCMTK_SOURCES_DIR}/CMake/osconfig.h.in ${DCMTK_SOURCES_DIR}/config/include/dcmtk/config/osconfig.h) @@ -114,6 +118,10 @@ ${DCMTK_SOURCES_DIR}/dcmdata/libsrc/dcdictbi.cc ) + #set_source_files_properties(${DCMTK_SOURCES} + # PROPERTIES COMPILE_DEFINITIONS + # "PACKAGE_VERSION=\"3.6.0\";PACKAGE_VERSION_NUMBER=\"360\"") + # This fixes crashes related to the destruction of the DCMTK OFLogger # http://support.dcmtk.org/docs-snapshot/file_macros.html add_definitions(