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 04df94d8a0 Fix esi-fetcher-plugin libswoc include issue (#11011)
04df94d8a0 is described below
commit 04df94d8a09f0313f741ed013c0cc47480662d53
Author: Phong Nguyen <[email protected]>
AuthorDate: Fri Feb 2 14:00:02 2024 -0800
Fix esi-fetcher-plugin libswoc include issue (#11011)
We discovered some linking issues with use of an external libswoc; this
fully qualifies inclusion so that internal or external should be usable.
---
plugins/esi/fetcher/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/esi/fetcher/CMakeLists.txt
b/plugins/esi/fetcher/CMakeLists.txt
index 227c9791df..6185d008e1 100644
--- a/plugins/esi/fetcher/CMakeLists.txt
+++ b/plugins/esi/fetcher/CMakeLists.txt
@@ -16,6 +16,6 @@
#######################
add_library(fetcher STATIC HttpDataFetcherImpl.cc)
-target_link_libraries(fetcher PUBLIC esi-common libswoc)
+target_link_libraries(fetcher PUBLIC esi-common libswoc::libswoc)
target_include_directories(fetcher PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
set_target_properties(fetcher PROPERTIES POSITION_INDEPENDENT_CODE ON)