1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

CMake: Remove unused IAA function

This commit is contained in:
reuk 2021-02-02 20:24:03 +00:00
parent 998883e557
commit ef1926f916

View file

@ -1494,29 +1494,6 @@ function(_juce_get_vst3_category_string target out_var)
set(${out_var} ${result} PARENT_SCOPE)
endfunction()
function(_juce_get_iaa_type_code target out_var)
get_target_property(wants_midi_input ${target} JUCE_NEEDS_MIDI_INPUT)
get_target_property(is_synth ${target} JUCE_IS_SYNTH)
set(result)
if(wants_midi_input)
if(is_synth)
set(result "auri")
else()
set(result "aurm")
endif()
else()
if(is_synth)
set(result "aurg")
else()
set(result "aurx")
endif()
endif()
set(${out_var} ${result} PARENT_SCOPE)
endfunction()
function(_juce_configure_plugin_targets target)
if(CMAKE_VERSION VERSION_LESS "3.15.0")
message(FATAL_ERROR "Plugin targets require CMake 3.15 or higher")
@ -1572,7 +1549,6 @@ function(_juce_configure_plugin_targets target)
_juce_to_char_literal(${project_plugin_code} project_plugin_code)
_juce_get_vst3_category_string(${target} vst3_category_string)
_juce_get_iaa_type_code(${target} iaa_type_code)
target_compile_definitions(${target} PUBLIC
JUCE_STANDALONE_APPLICATION=JucePlugin_Build_Standalone