diff options
author | Denys Fedoryshchenko <denys.f@collabora.com> | 2024-10-26 21:15:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-26 21:15:19 +0300 |
commit | 2f4b324907ec44cc92c39830af6b23d623b904cb (patch) | |
tree | e12ef6351d4c58f1ecf824ce16bdeaad3377eac3 /CMakeLists.txt | |
parent | a90ac41f32e5ba78441e6359df8c01e593200cf0 (diff) | |
parent | 2c7397c4f2fb1ab1cd76426e40bb05c8a8ccacf2 (diff) | |
download | accel-ppp-2f4b324907ec44cc92c39830af6b23d623b904cb.tar.gz accel-ppp-2f4b324907ec44cc92c39830af6b23d623b904cb.zip |
Merge pull request #185 from svlobanov/pcre2-1
migrate from pcre to pcre2
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 128b75a9..b606898a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,15 +23,15 @@ ENDIF (NOT DEFINED LIB_SUFFIX) #color console example message(FATAL_ERROR "${Esc}[31m Red Text ${Esc}[m Restore Normal Text") string(ASCII 27 Esc) -#Check libpcre -find_library(PCRE_LIBRARY pcre +#Check libpcre2 +find_library(PCRE2_LIBRARY pcre2-8 HINTS ${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib PATHS ${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib ) -IF(NOT PCRE_LIBRARY) - message(FATAL_ERROR "${Esc}[31mRequired libpcre not found.\n Install libpcre3-dev and run cmake again${Esc}[m") -ENDIF(NOT PCRE_LIBRARY) +IF(NOT PCRE2_LIBRARY) + message(FATAL_ERROR "${Esc}[31mRequired libpcre not found.\n Install libpcre2-dev and run cmake again${Esc}[m") +ENDIF(NOT PCRE2_LIBRARY) IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT) |