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 2db75e50fc73f2fe75a6ff8b63cfaafdc064acaa
Author: Chris McFarlen <[email protected]>
AuthorDate: Tue Mar 12 15:05:46 2024 -0500

    install tsutil files even if tsutil is static (#11141)
    
    Co-authored-by: Chris McFarlen <[email protected]>
    (cherry picked from commit b0dc506fb462c41b8f89679290573938cc94cb7b)
---
 src/tsutil/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tsutil/CMakeLists.txt b/src/tsutil/CMakeLists.txt
index 17f7f19b2d..beca3c8a25 100644
--- a/src/tsutil/CMakeLists.txt
+++ b/src/tsutil/CMakeLists.txt
@@ -64,6 +64,8 @@ if(BUILD_SHARED_LIBS)
     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
     PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tsutil
   )
+else()
+  install(FILES ${TSUTIL_PUBLIC_HEADERS} DESTINATION 
${CMAKE_INSTALL_INCLUDEDIR}/tsutil)
 endif()
 
 if(BUILD_TESTING)

Reply via email to