Skip to content

Commit 8a1d4e7

Browse files
committed
Map to Coverage config instead of Sanitize
There was a copy-paste error in "coverage-unix" preset that resulted in a wrong config mapping.
1 parent 9971e8f commit 8a1d4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake-init/templates/common/CMakePresets.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"CMAKE_CXX_FLAGS_COVERAGE": "-Og -g --coverage -fkeep-inline-functions -fkeep-static-functions",{% end %}
125125
"CMAKE_EXE_LINKER_FLAGS_COVERAGE": "--coverage",
126126
"CMAKE_SHARED_LINKER_FLAGS_COVERAGE": "--coverage"{% if pm %},
127-
"CMAKE_MAP_IMPORTED_CONFIG_SANITIZE": "Coverage;RelWithDebInfo;Release;Debug;"{% end %}
127+
"CMAKE_MAP_IMPORTED_CONFIG_COVERAGE": "Coverage;RelWithDebInfo;Release;Debug;"{% end %}
128128
}
129129
},
130130
{

0 commit comments

Comments
 (0)