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 0d02f591e400531655991ecc059443e842111620 Author: Chris McFarlen <[email protected]> AuthorDate: Mon Mar 18 17:34:12 2024 -0500 set compile definition to turn on maxminddb (#11169) (cherry picked from commit e1e8e434d3b3b27561a14bc09fec3d37c4ec0dc2) --- 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()
