From: schnorr Date: Tue, 28 Sep 2010 11:30:26 +0000 (+0000) Subject: fix on libpcre detection by cmake X-Git-Tag: v3_5~542 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ad58f046c61a4484c635a9264956bc6d174e63e8?ds=sidebyside fix on libpcre detection by cmake git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8282 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 77b1af5835..f7f8dafbab 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -194,7 +194,7 @@ endif(HAVE_CGRAPH_LIB AND HAVE_CGRAPH_H) #-------------------------------------------------------------------------------------------------- ### Initialize of pcre -find_library(PCRE_LIB pcre "/usr/lib/" ) +find_library(PATH_PCRE_LIB pcre "/usr/lib/") if(PATH_PCRE_LIB) string(REGEX REPLACE "/libpcre.*[.]so$" "" PATHLIBPCRE "${PCRE_LIB}")