Change C++ standard from 20 to 17 in CMake presets

As this causes Issues when installing from scratch with version miss-match with systemc and no C++20 features are used
This commit is contained in:
Eyck-Alexander Jentzsch
2025-10-20 13:19:15 +02:00
committed by GitHub
parent 68a2ad4781
commit b3c91220ff

View File

@@ -15,7 +15,7 @@
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_POLICY_DEFAULT_CMP0091": "NEW",
"CMAKE_CXX_STANDARD": "20",
"CMAKE_CXX_STANDARD": "17",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "scc/cmake/conan_provider.cmake",
@@ -48,4 +48,4 @@
}
}
]
}
}