-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")
- INCLUDE_DIRECTORIES(${LIBSTATGRAB}/../include)
- SET(CLITK_MEMORY_INFO ON)
-ENDIF (${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()