X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FCMakeLists.txt;h=ed51fd85016860a3db0f38be51a3eb1441ab903a;hb=9f81c263e76128ccf1e1eb993b090191448bf77d;hp=3c7a5803ed801494be97bbb0580604cb7d42a50a;hpb=fbd1f3ace65ab9540cb4e0b2d4af83b60232479e;p=clitk.git diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 3c7a580..ed51fd8 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -55,9 +55,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)