From 1993402c43c93ccdee6368b334da4b477e496915 Mon Sep 17 00:00:00 2001 From: Yuming He Date: Thu, 11 Jun 2026 14:48:46 +0800 Subject: [PATCH] chore: update precommit and format CMakeLists.txt Signed-off-by: Yuming He --- .pre-commit-config.yaml | 2 +- CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 533dc47..51005b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: check-added-large-files - repo: https://github.com/cpp-linter/cpp-linter-hooks - rev: v1.4.1 + rev: v1.5.0 hooks: - id: clang-format name: clang-format (C/C++) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0635f22..4c5e4d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,11 +251,11 @@ find_package(PkgConfig REQUIRED) if(linyaps-box_ENABLE_SECCOMP) pkg_check_modules(libseccomp REQUIRED IMPORTED_TARGET libseccomp>=2.3.3) list(APPEND linyaps-box_LIBRARY_LINK_LIBRARIES PUBLIC PkgConfig::libseccomp) - #TODO: detect seccomp_arch_resolve_name and use if available + # TODO: detect seccomp_arch_resolve_name and use if available endif() if(linyaps-box_ENABLE_CAP) - #TODO: remove libcap and implement it by ourself + # TODO: remove libcap and implement it by ourself pkg_check_modules(libcap REQUIRED IMPORTED_TARGET libcap>=2.25) list(APPEND linyaps-box_LIBRARY_LINK_LIBRARIES PUBLIC PkgConfig::libcap) endif()