A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PCRE is installed on /usr/lib
[simgrid.git]
/
buildtools
/
Cmake
/
Modules
/
FindPCRE.cmake
diff --git
a/buildtools/Cmake/Modules/FindPCRE.cmake
b/buildtools/Cmake/Modules/FindPCRE.cmake
index
eac7742
..
eba8fb9
100644
(file)
--- a/
buildtools/Cmake/Modules/FindPCRE.cmake
+++ b/
buildtools/Cmake/Modules/FindPCRE.cmake
@@
-2,7
+2,8
@@
find_library(PATH_PCRE_LIB
NAMES pcre
HINTS
$ENV{LD_LIBRARY_PATH}
NAMES pcre
HINTS
$ENV{LD_LIBRARY_PATH}
- PATH_SUFFIXES lib/
+ $ENV{PCRE_LIBRARY_PATH}
+ PATH_SUFFIXES lib/ GnuWin32/lib
PATHS
/opt
/opt/local
PATHS
/opt
/opt/local
@@
-13,7
+14,8
@@
find_library(PATH_PCRE_LIB
find_path(PATH_PCRE_H "pcre.h"
HINTS
$ENV{LD_LIBRARY_PATH}
find_path(PATH_PCRE_H "pcre.h"
HINTS
$ENV{LD_LIBRARY_PATH}
- PATH_SUFFIXES include/
+ $ENV{PCRE_LIBRARY_PATH}
+ PATH_SUFFIXES include/ GnuWin32/include
PATHS
/opt
/opt/local
PATHS
/opt
/opt/local
@@
-35,19
+37,19
@@
if(PATH_PCRE_LIB AND PATH_PCRE_H)
endif(NOT operation)
set(HAVE_PCRE_LIB 1)
else(PATH_PCRE_LIB)
endif(NOT operation)
set(HAVE_PCRE_LIB 1)
else(PATH_PCRE_LIB)
- message(
"--
Warning : You should install libpcre (please install the libpcre3-dev package or equivalent)")
+ message(
STATUS "
Warning : You should install libpcre (please install the libpcre3-dev package or equivalent)")
endif(PATH_PCRE_LIB AND PATH_PCRE_H)
endif(PATH_PCRE_LIB AND PATH_PCRE_H)
-message(
"--
Looking for pcre.h")
+message(
STATUS "
Looking for pcre.h")
if(PATH_PCRE_H)
if(PATH_PCRE_H)
-message(
"--
Looking for pcre.h - found")
+message(
STATUS "
Looking for pcre.h - found")
else(PATH_PCRE_H)
else(PATH_PCRE_H)
-message(
"--
Looking for pcre.h - not found")
+message(
STATUS "
Looking for pcre.h - not found")
endif(PATH_PCRE_H)
endif(PATH_PCRE_H)
-message(
"--
Looking for lib pcre")
+message(
STATUS "
Looking for lib pcre")
if(PATH_PCRE_LIB)
if(PATH_PCRE_LIB)
-message(
"--
Looking for lib pcre - found")
+message(
STATUS "
Looking for lib pcre - found")
else(PATH_PCRE_LIB)
else(PATH_PCRE_LIB)
-message(
"--
Looking for lib pcre - not found")
+message(
STATUS "
Looking for lib pcre - not found")
endif(PATH_PCRE_LIB)
\ No newline at end of file
endif(PATH_PCRE_LIB)
\ No newline at end of file