X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FCMakeLists.txt;h=cd6af5b41b3066f07fd7109e8a536efe1a431930;hb=b5bdc1984fefe2d79ebd5d791daa363c52c0f19b;hp=a6edaf4d1349be8ad1c9017652bc0ec0eb16194d;hpb=c7f88ac1c53bedf4c01562761bf1bd3c91773181;p=clitk.git diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index a6edaf4..cd6af5b 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -24,6 +24,11 @@ SET(clitkCommon_SRC rtkHndImageIOFactory.cxx rtkEdfImageIO.cxx rtkEdfImageIOFactory.cxx + rtkXRadImageIO.cxx + rtkXRadImageIOFactory.cxx + rtkImagXImageIO.cxx + rtkImagXImageIOFactory.cxx + rtkImagXXMLFileReader.cxx clitkEsrfHstImageIO.cxx clitkEsrfHstImageIOFactory.cxx clitkEsrfHstXMLFileReader.cxx @@ -52,9 +57,9 @@ ENDIF(CLITK_PRIVATE_FEATURES) ### Declare clitkCommon library ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC}) -IF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") +IF(CLITK_MEMORY_INFO) TARGET_LINK_LIBRARIES(clitkCommon statgrab) -ENDIF(NOT ${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") +ENDIF(CLITK_MEMORY_INFO) ### Check if ITK was compiled with SYSTEM_GDCM = ON and set the gdcm libraries accordingly SET(CLITK_USE_SYSTEM_GDCM FALSE)