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
Update findPCRE module.
[simgrid.git]
/
buildtools
/
Cmake
/
Modules
/
FindPCRE.cmake
diff --git
a/buildtools/Cmake/Modules/FindPCRE.cmake
b/buildtools/Cmake/Modules/FindPCRE.cmake
index
69e8af8
..
5f22069
100644
(file)
--- a/
buildtools/Cmake/Modules/FindPCRE.cmake
+++ b/
buildtools/Cmake/Modules/FindPCRE.cmake
@@
-11,12
+11,12
@@
find_library(PATH_PCRE_LIB
/opt/csw
/sw
/usr)
/opt/csw
/sw
/usr)
-message(status "PATH_PCRE_LIB ${PATH_PCRE_LIB}")
+
string(REGEX MATCH ".dll.a" operation "${PATH_PCRE_LIB}")
if(NOT operation)
if(WIN32)
string(REGEX MATCH ".dll.a" operation "${PATH_PCRE_LIB}")
if(NOT operation)
if(WIN32)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}
-DPCRE_STATIC
")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}
-DPCRE_STATIC
")
endif(WIN32)
endif(NOT operation)
endif(WIN32)
endif(NOT operation)