We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9de976b commit 5c102a0Copy full SHA for 5c102a0
1 file changed
cmake/findDependencies.cmake
@@ -7,9 +7,12 @@ if (BUILD_GUI)
7
endif()
8
9
if (HAVE_RULES)
10
+ find_path(PCRE_INCLUDE pcre.h)
11
find_library(PCRE_LIBRARY pcre)
- if (NOT PCRE_LIBRARY)
12
+ if (NOT PCRE_LIBRARY OR NOT PCRE_INCLUDE)
13
message(FATAL_ERROR "pcre dependency for RULES has not been found")
14
+ else()
15
+ include_directories(${PCRE_INCLUDE})
16
17
18
0 commit comments