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 eacb8bbee54ce180c17eb62dfbda79d252dee0b2
Author: Brian Neradt <[email protected]>
AuthorDate: Mon Mar 25 13:01:33 2024 -0500

    Fix external yaml-cpp builds (#11182)
    
    This fixes builds when a user builds yaml-cpp externally via:
    
    -DEXTERNAL_YAML_CPP=ON -Dyaml-cpp_ROOT=<yaml-cpp-path>
    
    (cherry picked from commit 71d32c5c01e77dc47b27a55b9204e42a746852e3)
---
 cmake/add_atsplugin.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/add_atsplugin.cmake b/cmake/add_atsplugin.cmake
index 559cff1301..ca9f17710a 100644
--- a/cmake/add_atsplugin.cmake
+++ b/cmake/add_atsplugin.cmake
@@ -27,6 +27,7 @@ function(add_atsplugin name)
       PRIVATE "$<TARGET_PROPERTY:libswoc::libswoc,INCLUDE_DIRECTORIES>"
               
"$<TARGET_PROPERTY:libswoc::libswoc,INTERFACE_INCLUDE_DIRECTORIES>"
               "$<TARGET_PROPERTY:yaml-cpp::yaml-cpp,INCLUDE_DIRECTORIES>"
+              
"$<TARGET_PROPERTY:yaml-cpp::yaml-cpp,INTERFACE_INCLUDE_DIRECTORIES>"
     )
   endif()
   set_target_properties(${name} PROPERTIES PREFIX "")

Reply via email to