This is an automated email from the ASF dual-hosted git repository.
cmcfarlen 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 e1e8e434d3 set compile definition to turn on maxminddb (#11169)
e1e8e434d3 is described below
commit e1e8e434d3b3b27561a14bc09fec3d37c4ec0dc2
Author: Chris McFarlen <[email protected]>
AuthorDate: Mon Mar 18 17:34:12 2024 -0500
set compile definition to turn on maxminddb (#11169)
---
plugins/header_rewrite/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/header_rewrite/CMakeLists.txt
b/plugins/header_rewrite/CMakeLists.txt
index af70193541..d5b53916ae 100644
--- a/plugins/header_rewrite/CMakeLists.txt
+++ b/plugins/header_rewrite/CMakeLists.txt
@@ -42,6 +42,7 @@ target_link_libraries(
)
if(maxminddb_FOUND)
+ target_compile_definitions(header_rewrite PUBLIC TS_USE_HRW_MAXMINDDB=1)
target_sources(header_rewrite PRIVATE conditions_geo_maxmind.cc)
target_link_libraries(header_rewrite PRIVATE maxminddb::maxminddb)
endif()