diff Resources/CMake/DcmtkConfigurationStatic-3.6.5.cmake @ 3721:c575fb0adf91

upgraded jsoncpp to 0.10.7 for pre-C++11 compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Mar 2020 18:34:25 +0100
parents d737173197e1
children a49d49d945c9
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfigurationStatic-3.6.5.cmake	Thu Mar 05 16:42:55 2020 +0100
+++ b/Resources/CMake/DcmtkConfigurationStatic-3.6.5.cmake	Thu Mar 05 18:34:25 2020 +0100
@@ -183,3 +183,11 @@
 add_definitions(
   -DDISABLE_NAGLE_ALGORITHM=1
   )
+
+
+if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND
+    CMAKE_COMPILER_IS_GNUCXX)
+  add_definitions(
+    -DDCMTK_LOG4CPLUS_AVOID_WIN32_FLS
+    )
+endif()