mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Update the minimum C++ standard to C++14
This commit is contained in:
parent
0c56fa8fa0
commit
78be43888e
32 changed files with 71 additions and 56 deletions
|
|
@ -501,7 +501,7 @@ function(_juce_add_plugin_wrapper_target format path out_path)
|
|||
_juce_add_plugin_definitions("${target_name}" INTERFACE ${format})
|
||||
_juce_add_standard_defs("${target_name}")
|
||||
|
||||
target_compile_features("${target_name}" INTERFACE cxx_std_11)
|
||||
target_compile_features("${target_name}" INTERFACE cxx_std_14)
|
||||
add_library("juce::${target_name}" ALIAS "${target_name}")
|
||||
|
||||
if(format STREQUAL "AUv3")
|
||||
|
|
@ -922,7 +922,7 @@ function(juce_add_binary_data target)
|
|||
|
||||
target_sources(${target} PRIVATE "${binary_file_names}")
|
||||
target_include_directories(${target} INTERFACE ${juce_binary_data_folder})
|
||||
target_compile_features(${target} PRIVATE cxx_std_11)
|
||||
target_compile_features(${target} PRIVATE cxx_std_14)
|
||||
|
||||
# This fixes an issue where Xcode is unable to find binary data during archive.
|
||||
if(CMAKE_GENERATOR STREQUAL "Xcode")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue