summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2024-06-27 01:44:07 +0000
committerliuxueli <[email protected]>2024-06-27 01:44:07 +0000
commitda0a82039f1974a4b3e5ad80116c93c0e6b1ca9c (patch)
treeb92881abe3e7de3196eb35becb01b406a9903c97 /CMakeLists.txt
parente24a7a6fb40252fe684f3a7ea0a90693c76ade18 (diff)
Perf: yyjson replaces cjson
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 785eed0..446de59 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,6 +25,8 @@ if (CMAKE_CXX_CPPCHECK)
"--suppress=variableScope"
"--suppress=unreadVariable"
"--suppress=unusedStructMember"
+ "--suppress=*:${PROJECT_SOURCE_DIR}/deps/toml/*"
+ "--suppress=*:${PROJECT_SOURCE_DIR}/deps/yyjson/*"
)
set(CMAKE_C_CPPCHECK ${CMAKE_CXX_CPPCHECK})
else()