1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

CMake: Silently disable AAX builds on unsupported platforms

This commit is contained in:
reuk 2022-06-27 10:58:47 +01:00
parent e86b886038
commit e7581fa947
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -249,7 +249,11 @@ function(_juce_get_platform_plugin_kinds out)
endif()
if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS" AND NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
list(APPEND result AAX Unity VST VST3 LV2)
list(APPEND result Unity VST VST3 LV2)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR CMAKE_SYSTEM_NAME STREQUAL "Windows")
list(APPEND result AAX)
endif()
set(${out} ${result} PARENT_SCOPE)