Skip to content

Commit 299d068

Browse files
authored
cmake: fix oatpp cmake version (#293)
On VS2026 cmake does no longer supports the ancient oatpp cmake version --- Signed-off-by: Marius Börschig <[email protected]>
1 parent 1dfb694 commit 299d068

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakePresets.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"SILKIT_BUILD_UTILITIES": "ON",
2626
"SILKIT_INSTALL_SOURCE": "ON",
2727
"SILKIT_PACKAGE_SYMBOLS": "ON",
28-
"SILKIT_WARNINGS_AS_ERRORS": "ON"
28+
"SILKIT_WARNINGS_AS_ERRORS": "ON",
29+
"CMAKE_POLICY_VERSION_MINIMUM": "3.5"
2930
},
3031
"architecture": {
3132
"value": "x64",
@@ -42,7 +43,8 @@
4243
"SILKIT_BUILD_UTILITIES": "ON",
4344
"SILKIT_WARNINGS_AS_ERRORS": "ON",
4445
"SILKIT_PACKAGE_SYMBOLS": "OFF",
45-
"SILKIT_INSTALL_SOURCE": "OFF"
46+
"SILKIT_INSTALL_SOURCE": "OFF",
47+
"CMAKE_POLICY_VERSION_MINIMUM": "3.5"
4648
},
4749
"architecture": {
4850
"value": "x64",

0 commit comments

Comments
 (0)