]> Creatis software - clitk.git/commitdiff
Add flag to compile PacsConnection with external GDCM v1.4.0
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 18 Oct 2016 08:05:57 +0000 (10:05 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Tue, 18 Oct 2016 08:05:57 +0000 (10:05 +0200)
CMakeLists.txt

index 3bb8fc5b4f63d80204a78078dfe4914b1272f8ce..c4fbc59a14fe072247bd46ae6fa5a61637c054ff 100644 (file)
@@ -25,6 +25,10 @@ if(MSVC)
   set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /bigobj" )
 endif(MSVC)
 
+if(${CLITK_USE_PACS_CONNECTION})
+  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgdcmMEXD" )
+endif(${CLITK_USE_PACS_CONNECTION})
+
 #=========================================================
 include(${CLITK_SOURCE_DIR}/cmake/common.cmake)
 include(${CLITK_SOURCE_DIR}/cmake/dependencies.cmake)