diff options
author | Sven Göthel <[email protected]> | 2024-05-20 22:22:30 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-05-20 22:22:30 +0200 |
commit | 0853f3f6241af0c2995c53f404a38e6845054693 (patch) | |
tree | 171e78cd26ed15310540d97d8cb9c0f09379a875 /test/cipherpack | |
parent | 3b2c93bec50b7d8e132f05ce340fd5a817cd5046 (diff) |
clang-18 fixes, adopt to jaulib changesv1.2.1
Diffstat (limited to 'test/cipherpack')
-rw-r--r-- | test/cipherpack/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cipherpack/CMakeLists.txt b/test/cipherpack/CMakeLists.txt index baec9eb..18a29aa 100644 --- a/test/cipherpack/CMakeLists.txt +++ b/test/cipherpack/CMakeLists.txt @@ -15,5 +15,8 @@ foreach( name ${TARGETS_IDIOMATIC_EXAMPLES} ) target_link_libraries(${name} cipherpack catch2) add_dependencies(${name} cipherpack catch2) add_test (NAME ${name} COMMAND ${name}) + if(DEFINED CMAKE_CXX_CLANG_TIDY) + set_target_properties(${name} PROPERTIES CXX_CLANG_TIDY "${CMAKE_CXX_CLANG_TIDY};--checks;-bugprone-chained-comparison") + endif() endforeach() |