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

BSD: Fix some compiler warnings

This commit is contained in:
Tom Poole 2023-02-07 00:55:38 +00:00 committed by reuk
parent 273a702052
commit 29a90a0231
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
26 changed files with 293 additions and 226 deletions

View file

@ -251,7 +251,10 @@ 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 Unity VST VST3 LV2)
list(APPEND result VST LV2)
if(NOT (CMAKE_SYSTEM_NAME MATCHES ".*BSD"))
list(APPEND result Unity VST3)
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR CMAKE_SYSTEM_NAME STREQUAL "Windows")

View file

@ -1899,11 +1899,15 @@ function(juce_add_pip header)
list(APPEND extra_formats VST)
endif()
if(NOT (CMAKE_SYSTEM_NAME MATCHES ".*BSD"))
list(APPEND extra_formats VST3)
endif()
# Standalone plugins might want to access the mic
list(APPEND extra_target_args MICROPHONE_PERMISSION_ENABLED TRUE)
juce_add_plugin(${JUCE_PIP_NAME}
FORMATS AU AUv3 LV2 Standalone Unity VST3 ${extra_formats}
FORMATS AU AUv3 LV2 Standalone Unity ${extra_formats}
${extra_target_args})
endif()
elseif(pip_kind STREQUAL "Component")