aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-05-13 22:15:37 +0100
committerGravatar Sadie Powell2026-05-13 22:15:37 +0100
commitd2f2f35485ee20a4d18e86c4beb91817ca351848 (patch)
tree5d1404ff51d78dc6da48b0b1b937d65b18c24e47 /modules/httpd.cpp
parentFix CMake usage when linking against utfcpp. (diff)
Automate checking the SYSTEM_* environment variables.
Diffstat (limited to 'modules/httpd.cpp')
-rw-r--r--modules/httpd.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/httpd.cpp b/modules/httpd.cpp
index 3e0b26c17..f1485623a 100644
--- a/modules/httpd.cpp
+++ b/modules/httpd.cpp
@@ -27,18 +27,8 @@
*/
/// BEGIN CMAKE
-/// if($ENV{SYSTEM_LLHTTP})
-/// target_compile_definitions(${TARGET} "USE_SYSTEM_LLHTTP")
-/// target_link_libraries(${TARGET} PRIVATE "llhttp")
-/// else()
-/// target_link_libraries(${TARGET} PRIVATE "vendored_llhttp")
-/// endif()
-/// if($ENV{SYSTEM_YUAREL})
-/// target_compile_definitions(${TARGET} "USE_SYSTEM_YUAREL")
-/// target_link_libraries(${TARGET} PRIVATE "yuarel")
-/// else()
-/// target_link_libraries(${TARGET} PRIVATE "vendored_yuarel")
-/// endif()
+/// target_vendor_library(${TARGET} "llhttp" NO)
+/// target_vendor_library(${TARGET} "yuarel" NO)
/// END CMAKE