Skip to content

Commit

Permalink
Forcing JUCE to use CXX standard 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Dec 8, 2024
1 parent 92141fd commit 208f013
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules")
set(PROJECT_VERSION_FULL "0.3.3")
set(PROJECT_SO_VERSION 9)

#### Set C++ standard level
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Remove the dash and anything following, to get the #.#.# version for project()
string(REGEX REPLACE "\-.*$" "" VERSION_NUM "${PROJECT_VERSION_FULL}")

Expand Down

0 comments on commit 208f013

Please sign in to comment.