We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f600633 commit a8707b0Copy full SHA for a8707b0
docs/website/render.js
@@ -57,7 +57,7 @@ for (let panel of data.panels) {
57
58
// Create a CMakeLists.txt file for the snippet
59
const cmakeListsPath = path.join(absSnippetsDir, 'CMakeLists.txt')
60
- const cmakeListsContent = `cmake_minimum_required(VERSION 3.13)\nproject(${sourceBasename})\nadd_executable(${sourceBasename} ${panel.source})\n`
+ const cmakeListsContent = `cmake_minimum_required(VERSION 3.13)\nproject(${sourceBasename})\nadd_executable(${sourceBasename} ${panel.source})\ntarget_compile_features(${sourceBasename} PRIVATE cxx_std_23)\n`
61
fs.writeFileSync(cmakeListsPath, cmakeListsContent)
62
63
// Run mrdocs to generate documentation
0 commit comments