X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cmake%2Fdependencies.cmake;h=7aafbbcbc2c18f2568ff1f6c708a327e3fe963c7;hb=a2884383f43695991c4da67a693f131dfe57785e;hp=ef74409c2d9c59dcf0de030f08df7c488356c44d;hpb=c2957bcf8c939423525b848df4c97e5ccadedb4c;p=clitk.git diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index ef74409..7aafbbc 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -47,15 +47,15 @@ find_package(Gengetopt) #========================================================= # Find libstatgrab is installed, add clitkMemoryUsage.cxx in the library -if(NOT DEFINED CLITK_MEMORY_INFO OR CLITK_MEMORY_INFO) - find_library(LIBSTATGRAB NAMES statgrab PATHS) - if(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") +#if(NOT DEFINED CLITK_MEMORY_INFO OR CLITK_MEMORY_INFO) +# find_library(LIBSTATGRAB NAMES statgrab PATHS) +# if(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") # message("Install libstatgrab (http://www.i-scream.org/libstatgrab/) for memory usage information") set(CLITK_MEMORY_INFO OFF) - else(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") - set(CLITK_MEMORY_INFO ON) - endif(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") -endif() +# else(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") +# set(CLITK_MEMORY_INFO ON) +# endif(${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND") +#endif() #=========================================================