summaryrefslogtreecommitdiff
path: root/3rdparty/cmake/FindPCRE.cmake
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/cmake/FindPCRE.cmake')
-rw-r--r--3rdparty/cmake/FindPCRE.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/3rdparty/cmake/FindPCRE.cmake b/3rdparty/cmake/FindPCRE.cmake
index cb4d9177b..2215451d1 100644
--- a/3rdparty/cmake/FindPCRE.cmake
+++ b/3rdparty/cmake/FindPCRE.cmake
@@ -6,8 +6,9 @@
# PCRE_FOUND - True if pcre found.
-find_path( PCRE_INCLUDE_DIR pcre.h )
-
+find_path( PCRE_INCLUDE_DIR pcre.h
+ PATHS
+ "/usr/include/pcre" )
set( PCRE_NAMES pcre )
find_library( PCRE_LIBRARY NAMES ${PCRE_NAMES} )
mark_as_advanced( PCRE_LIBRARY PCRE_INCLUDE_DIR )