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 for fedora.
[simgrid.git]
/
buildtools
/
Cmake
/
Modules
/
FindPCRE.cmake
diff --git
a/buildtools/Cmake/Modules/FindPCRE.cmake
b/buildtools/Cmake/Modules/FindPCRE.cmake
index
7a7e6c2
..
e2537eb
100644
(file)
--- a/
buildtools/Cmake/Modules/FindPCRE.cmake
+++ b/
buildtools/Cmake/Modules/FindPCRE.cmake
@@
-2,18
+2,21
@@
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
/opt/csw
/sw
PATHS
/opt
/opt/local
/opt/csw
/sw
- /usr)
+ /usr
+ /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