aboutsummaryrefslogtreecommitdiff
path: root/modules/log_json.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/log_json.cpp
parentFix CMake usage when linking against utfcpp. (diff)
Automate checking the SYSTEM_* environment variables.
Diffstat (limited to 'modules/log_json.cpp')
-rw-r--r--modules/log_json.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/log_json.cpp b/modules/log_json.cpp
index 998aa016d..33cddb6ce 100644
--- a/modules/log_json.cpp
+++ b/modules/log_json.cpp
@@ -17,13 +17,7 @@
*/
/// BEGIN CMAKE
-/// if($ENV{SYSTEM_YYJSON})
-/// pkg_check_modules("yyjson" IMPORTED_TARGET REQUIRED "yyjson")
-/// target_compile_definitions(${TARGET} "USE_SYSTEM_YYJSON")
-/// target_link_libraries(${TARGET} PRIVATE "PkgConfig::yyjson")
-/// else()
-/// target_link_libraries(${TARGET} PRIVATE "vendored_yyjson")
-/// endif()
+/// target_vendor_library(${TARGET} "yyjson" YES)
/// END CMAKE