This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit d220afd0828a1eddc476f4f71bf764bed6f8b980
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Mar 11 16:34:07 2024 -0600

    cmake: Link pcre2 to src/api (#11120)
    
    (cherry picked from commit 1c37f7ab7efc9ab521360654cacf3aacc5fdddc0)
---
 src/api/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/CMakeLists.txt b/src/api/CMakeLists.txt
index 3a7f056235..7db56a345d 100644
--- a/src/api/CMakeLists.txt
+++ b/src/api/CMakeLists.txt
@@ -23,7 +23,7 @@ set(TSAPI_PUBLIC_HEADERS 
${PROJECT_SOURCE_DIR}/include/ts/ts.h ${PROJECT_SOURCE_
                          ${PROJECT_SOURCE_DIR}/include/ts/TsException.h 
${PROJECT_BINARY_DIR}/include/ts/apidefs.h
 )
 
-target_link_libraries(tsapi PRIVATE libswoc::libswoc yaml-cpp::yaml-cpp 
PCRE::PCRE OpenSSL::SSL)
+target_link_libraries(tsapi PRIVATE libswoc::libswoc yaml-cpp::yaml-cpp 
PCRE::PCRE PkgConfig::PCRE2 OpenSSL::SSL)
 set_target_properties(tsapi PROPERTIES PUBLIC_HEADER "${TSAPI_PUBLIC_HEADERS}")
 
 # Items common between api and other ts libraries

Reply via email to