Skip to content

Commit 208f013

Browse files
committed
Forcing JUCE to use CXX standard 17
1 parent 92141fd commit 208f013

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules")
4343
set(PROJECT_VERSION_FULL "0.3.3")
4444
set(PROJECT_SO_VERSION 9)
4545

46+
#### Set C++ standard level
47+
set(CMAKE_CXX_STANDARD 17)
48+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
49+
set(CMAKE_CXX_EXTENSIONS OFF)
50+
4651
# Remove the dash and anything following, to get the #.#.# version for project()
4752
string(REGEX REPLACE "\-.*$" "" VERSION_NUM "${PROJECT_VERSION_FULL}")
4853

0 commit comments

Comments
 (0)