Skip to content
Permalink
Browse files

fix "cmake -DWITH_PCRE=bundled"

after building with system
  • Loading branch information...
vuvova committed Apr 18, 2017
1 parent 8d75a75 commit 26ed68dcaed5f5ca27fce21e7a7512e0523b2605
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/pcre.cmake
@@ -5,7 +5,7 @@ MACRO (CHECK_PCRE)
IF(WITH_PCRE STREQUAL "system" OR WITH_PCRE STREQUAL "auto")
CHECK_LIBRARY_EXISTS(pcre pcre_stack_guard "" HAVE_PCRE)
ENDIF()
IF(NOT HAVE_PCRE)
IF(NOT HAVE_PCRE OR WITH_PCRE STREQUAL "bundled")
IF (WITH_PCRE STREQUAL "system")
MESSAGE(FATAL_ERROR "system pcre is not found or unusable")
ENDIF()

0 comments on commit 26ed68d

Please sign in to comment.
You can’t perform that action at this time.