diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-05-18 14:08:13 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-05-18 14:08:13 +0200 |
| commit | 24232fa7db160b4e7b702345e0892906dcccd8cd (patch) | |
| tree | b657fb60d3e9da12fc813d9f7bcb66ba7972262c | |
| parent | 845d4d0522f063dde7e84b281c0b191de1a43dee (diff) | |
| download | kernel-24232fa7db160b4e7b702345e0892906dcccd8cd.tar.xz kernel-24232fa7db160b4e7b702345e0892906dcccd8cd.zip | |
bht: improve catch2 configuration
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | CMakePresets.json | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d48a13..fb5b101 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,8 @@ if (BUILD_TESTING) find_package("Catch2") include("Catch") + + add_compile_definitions("CATCH_CONFIG_NO_COUNTER") endif() #[============================================================================[ diff --git a/CMakePresets.json b/CMakePresets.json index d5123a2..0e5dd88 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -24,10 +24,7 @@ { "name": "bht", "inherits": "base", - "description": "Build-host Testing", - "cacheVariables": { - "CATCH_CONFIG_NO_COUNTER": true - } + "description": "Build-host Testing" } ], "buildPresets": [ |
