From: Gauthier Bouilhol Date: Wed, 29 Feb 2012 16:25:39 +0000 (+0100) Subject: LINK_DIRECTORIES(${LIBSTATGRAB}/../lib) and X-Git-Tag: v1.3.0~81 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b666aca935315c489deb756b2b93b1fa7bf64772;p=clitk.git LINK_DIRECTORIES(${LIBSTATGRAB}/../lib) and LINK_DIRECTORIES(${LIBSTATGRAB}/../lib64) added --- diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index 9246eaa..75319ec 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -44,6 +44,8 @@ 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") + LINK_DIRECTORIES(${LIBSTATGRAB}/../lib) + LINK_DIRECTORIES(${LIBSTATGRAB}/../lib64) INCLUDE_DIRECTORIES(${LIBSTATGRAB}/../include) SET(CLITK_MEMORY_INFO ON) ENDIF (${LIBSTATGRAB} MATCHES "LIBSTATGRAB-NOTFOUND")