diff options
| author | 2026-05-13 22:15:37 +0100 | |
|---|---|---|
| committer | 2026-05-13 22:15:37 +0100 | |
| commit | d2f2f35485ee20a4d18e86c4beb91817ca351848 (patch) | |
| tree | 5d1404ff51d78dc6da48b0b1b937d65b18c24e47 /modules/log_json.cpp | |
| parent | Fix 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.cpp | 8 |
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 |
