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

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 71d32c5c01 Fix external yaml-cpp builds (#11182)
71d32c5c01 is described below

commit 71d32c5c01e77dc47b27a55b9204e42a746852e3
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>
---
 cmake/add_atsplugin.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/add_atsplugin.cmake b/cmake/add_atsplugin.cmake
index 1412ebb8b4..204927f881 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