From: Gauthier Bouilhol Date: Wed, 29 Feb 2012 13:38:23 +0000 (+0100) Subject: INCLUDE_DIRECTORIES(${LIBSTATGRAB}/../include) added to find statgrab.h X-Git-Tag: v1.3.0~83 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=21773137da4cce358713ef3bdc6296a3131849a6;p=clitk.git INCLUDE_DIRECTORIES(${LIBSTATGRAB}/../include) added to find statgrab.h after make install of libstatgrab --- diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index e8bbb3e..9246eaa 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -44,6 +44,7 @@ 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") #=========================================================