mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Update some CXX_STANDARD statements to 17
This commit is contained in:
parent
473283fa19
commit
ad1329dd0e
2 changed files with 3 additions and 7 deletions
|
|
@ -63,7 +63,7 @@ function(_juce_create_atomic_target target_name)
|
|||
|
||||
try_compile(compile_result "${test_bindir}" "${test_file_name}"
|
||||
OUTPUT_VARIABLE test_build_output_0
|
||||
CXX_STANDARD 14
|
||||
CXX_STANDARD 17
|
||||
CXX_STANDARD_REQUIRED TRUE
|
||||
CXX_EXTENSIONS FALSE)
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ function(_juce_create_atomic_target target_name)
|
|||
try_compile(compile_result "${test_bindir}" "${test_file_name}"
|
||||
OUTPUT_VARIABLE test_build_output_1
|
||||
LINK_LIBRARIES atomic
|
||||
CXX_STANDARD 14
|
||||
CXX_STANDARD 17
|
||||
CXX_STANDARD_REQUIRED TRUE
|
||||
CXX_EXTENSIONS FALSE)
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ function(_juce_create_atomic_target target_name)
|
|||
try_compile(compile_result "${test_bindir}" "${test_file_name}"
|
||||
OUTPUT_VARIABLE test_build_output_2
|
||||
LINK_LIBRARIES atomic
|
||||
CXX_STANDARD 14
|
||||
CXX_STANDARD 17
|
||||
CXX_STANDARD_REQUIRED TRUE
|
||||
CXX_EXTENSIONS FALSE)
|
||||
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@ juce_add_gui_app(Projucer
|
|||
|
||||
juce_generate_juce_header(Projucer)
|
||||
|
||||
# This is to work around a bug with how cmake computes language standard flags with
|
||||
# target_compile_features
|
||||
set_target_properties(Projucer PROPERTIES CXX_STANDARD 11)
|
||||
|
||||
target_sources(Projucer PRIVATE
|
||||
Source/Application/jucer_AutoUpdater.cpp
|
||||
Source/Application/jucer_CommandLine.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue