diff --git a/src/records/CMakeLists.txt b/src/records/CMakeLists.txt index 3dd431afcb8..a32811e8d6d 100644 --- a/src/records/CMakeLists.txt +++ b/src/records/CMakeLists.txt @@ -38,5 +38,5 @@ target_include_directories(records_p PRIVATE ${CMAKE_SOURCE_DIR}/iocore/eventsystem ${CMAKE_SOURCE_DIR}/iocore/utils ) -target_link_libraries(records_p tscore libswoc) +target_link_libraries(records_p tscore libswoc yaml-cpp::yaml-cpp) install(TARGETS records_p) diff --git a/src/wccp/CMakeLists.txt b/src/wccp/CMakeLists.txt index e16bcd4f5c7..82a47f02e6a 100644 --- a/src/wccp/CMakeLists.txt +++ b/src/wccp/CMakeLists.txt @@ -20,6 +20,6 @@ add_library(wccp SHARED WccpConfig.cc WccpEndPoint.cc WccpMsg.cc WccpStatic.cc ) -target_link_libraries(wccp PRIVATE libswoc) +target_link_libraries(wccp PRIVATE libswoc tscore yaml-cpp::yaml-cpp) install(TARGETS wccp)