Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Can have pcrelib in windows by setting PCRE_LIBRARY_PATH.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 Jan 2011 14:38:37 +0000 (14:38 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 Jan 2011 14:38:37 +0000 (14:38 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9434 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/Modules/FindPCRE.cmake

index 7a7e6c2..eba8fb9 100644 (file)
@@ -2,7 +2,8 @@ find_library(PATH_PCRE_LIB
        NAMES pcre
     HINTS
     $ENV{LD_LIBRARY_PATH}
-    PATH_SUFFIXES lib/
+    $ENV{PCRE_LIBRARY_PATH}
+    PATH_SUFFIXES lib/ GnuWin32/lib
     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}
-    PATH_SUFFIXES include/
+    $ENV{PCRE_LIBRARY_PATH}
+    PATH_SUFFIXES include/ GnuWin32/include
     PATHS
     /opt
     /opt/local