Skip to content

Commit

Permalink
Merge pull request #56 from SpM-lab/terasaki/CMAKE_CXX_STANDARD-11
Browse files Browse the repository at this point in the history
`set(CMAKE_CXX_STANDARD 11)`
  • Loading branch information
terasakisatoshi authored Dec 16, 2024
2 parents fdf295f + 1cc4f66 commit aa282a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 3.9)

set(CMAKE_CXX_STANDARD 11)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")

# extract version information from header file
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include(FetchContent)

set(CMAKE_CXX_STANDARD 11)

# Require Catch2 for tests
FetchContent_Declare(
Catch2
Expand Down

0 comments on commit aa282a9

Please sign in to comment.