From: tbaudier Date: Tue, 18 Oct 2016 08:05:57 +0000 (+0200) Subject: Add flag to compile PacsConnection with external GDCM X-Git-Tag: v1.4.0^0 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bdbc115014dc26b49c9c2df3be0d7025c3527839;p=clitk.git Add flag to compile PacsConnection with external GDCM --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bb8fc5..c4fbc59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)