mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
CMake: Correctly set AUv3 product type
This commit is contained in:
parent
350f1f9bc1
commit
0341f4d24e
1 changed files with 1 additions and 5 deletions
|
|
@ -1316,9 +1316,9 @@ function(_juce_set_plugin_target_properties shared_code_target kind)
|
|||
_juce_copy_after_build(${shared_code_target} ${target_name} "${output_path}" JUCE_AU_COPY_DIR)
|
||||
elseif(kind STREQUAL "AUv3")
|
||||
set_target_properties(${target_name} PROPERTIES
|
||||
XCODE_PRODUCT_TYPE "com.apple.product-type.app-extension"
|
||||
BUNDLE_EXTENSION appex
|
||||
XCODE_ATTRIBUTE_WRAPPER_EXTENSION appex
|
||||
XCODE_ATTRIBUTE_PRODUCT_TYPE "com.apple.product-type.app-extension"
|
||||
XCODE_ATTRIBUTE_GENERATE_PKGINFO_FILE YES)
|
||||
elseif(kind STREQUAL "AAX")
|
||||
set_target_properties(${target_name} PROPERTIES
|
||||
|
|
@ -1627,10 +1627,6 @@ function(_juce_configure_plugin_targets target)
|
|||
target_link_libraries(${target}_AAX PRIVATE juce_aax_sdk)
|
||||
endif()
|
||||
|
||||
if(TARGET ${target}_AUv3)
|
||||
target_link_libraries(${target}_AUv3 PUBLIC -fapplication-extension "-e _NSExtensionMain")
|
||||
endif()
|
||||
|
||||
if((TARGET ${target}_AUv3) AND (TARGET ${target}_Standalone))
|
||||
add_dependencies(${target}_Standalone ${target}_AUv3)
|
||||
# Copy the AUv3 into the Standalone app bundle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue