fix(cmake): PocoFoundationConfig.cmake should now check for PCRE2 #3677

This commit is contained in:
Alex Fabijanic 2022-07-09 19:13:04 +02:00
parent 050ed1dd1b
commit f049898c8b

View File

@ -2,7 +2,7 @@ if(@POCO_UNBUNDLED@)
include(CMakeFindDependencyMacro)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
find_dependency(ZLIB REQUIRED)
find_dependency(PCRE REQUIRED)
find_dependency(PCRE2 REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PocoFoundationTargets.cmake")