X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FCMakeLists.txt;h=cd6af5b41b3066f07fd7109e8a536efe1a431930;hb=7f456873c42a4fe66d38ccb8847bd414dd15e443;hp=3c7a5803ed801494be97bbb0580604cb7d42a50a;hpb=4c1f33fa1ab2a114f4dc94b24b0f2ef936ffafb8;p=clitk.git diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 3c7a580..cd6af5b 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -24,6 +24,8 @@ SET(clitkCommon_SRC rtkHndImageIOFactory.cxx rtkEdfImageIO.cxx rtkEdfImageIOFactory.cxx + rtkXRadImageIO.cxx + rtkXRadImageIOFactory.cxx rtkImagXImageIO.cxx rtkImagXImageIOFactory.cxx rtkImagXXMLFileReader.cxx @@ -55,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)