Browse Source

CMake: Silently disable AAX builds on unsupported platforms

pull/22/head
reuk 3 years ago
parent
commit
e7581fa947
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      extras/Build/CMake/JUCEModuleSupport.cmake

+ 5
- 1
extras/Build/CMake/JUCEModuleSupport.cmake 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)


Loading…
Cancel
Save