From 98b2e756597e23f9854736dc856ee9fe4fd17d55 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 25 Nov 2016 13:12:22 +0100 Subject: [PATCH] Remove libstatgrab dependency by default --- cmake/dependencies.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index a871fec..bdd6316 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -44,15 +44,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() #========================================================= -- 2.47.1