Skip to content

Commit

Permalink
docs: website build scripts set cxx_std_23
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Oct 8, 2024
1 parent f600633 commit a8707b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/website/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for (let panel of data.panels) {

// Create a CMakeLists.txt file for the snippet
const cmakeListsPath = path.join(absSnippetsDir, 'CMakeLists.txt')
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`
fs.writeFileSync(cmakeListsPath, cmakeListsContent)

// Run mrdocs to generate documentation
Expand Down

0 comments on commit a8707b0

Please sign in to comment.