diff options
| -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": [ |
