Skip to content

Commit

Permalink
Default DISCOVERY_MODE to PRE_TEST on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Sep 12, 2024
1 parent 89cc4a8 commit 3665ad9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake-init/templates/common/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@
"name": "ci-darwin",
"inherits": ["flags-appleclang", "ci-std"],
"generator": "Xcode",
"hidden": true
"hidden": true{% if pm %},
"cacheVariables": {
"CMAKE_CATCH_DISCOVER_TESTS_DISCOVERY_MODE": "PRE_TEST"
}{% end %}
},
{
"name": "ci-win64",
Expand Down

0 comments on commit 3665ad9

Please sign in to comment.