diff CMakeLists.txt @ 3275:5cd4c672d63c

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Feb 2019 17:21:39 +0100
parents 81dafe9be364
children 1b57023af28f
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Feb 20 17:19:27 2019 +0100
+++ b/CMakeLists.txt	Wed Feb 20 17:21:39 2019 +0100
@@ -148,7 +148,7 @@
 
 if (CMAKE_COMPILER_IS_GNUCXX
     AND NOT CMAKE_CROSSCOMPILING 
-    AND USE_DCMTK_360)
+    AND DCMTK_STATIC_VERSION STREQUAL "3.6.0")
   # Add the "-pedantic" flag only on the Orthanc sources, and only if
   # cross-compiling DCMTK 3.6.0
   set(ORTHANC_ALL_SOURCES