Skip to content

Commit 2ed4c45

Browse files
committed
Fix Windows preset
1 parent b9c8984 commit 2ed4c45

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

CMakePresets.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
"name": "debug",
1414
"configurePreset": "debug",
1515
"targets": [
16-
"all",
1716
"install"
1817
]
1918
},
2019
{
2120
"name": "release",
2221
"configurePreset": "release",
2322
"targets": [
24-
"all",
2523
"all_verify_interface_header_sets",
2624
"install"
2725
]

cmake/CMakeLinuxPresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"CMAKE_CXX_FLAGS": "-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=leak -fsanitize=undefined"
1313
},
1414
"condition": {
15-
"type": "notEquals",
15+
"type": "equals",
1616
"lhs": "${hostSystemName}",
17-
"rhs": "Windows"
17+
"rhs": "Linux"
1818
}
1919
},
2020
{

cmake/CMakeWindowsPresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"root-config"
1313
],
1414
"cacheVariables": {
15-
"CMAKE_CXX_FLAGS": "/W4 /EHsc /w14242 /w14254 /w14263 /w14265 /w14287 /w14289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14640 /w14826 /w14928 /WX"
15+
"CMAKE_CXX_FLAGS": "/W3 /EHsc /w14242 /w14254 /w14263 /w14265 /w14287 /w14289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14640 /w14826 /w14928 /WX"
1616
},
1717
"condition": {
1818
"type": "equals",

0 commit comments

Comments
 (0)