File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,10 @@ file(GLOB plugdata_standalone_sources
425425 ${SOURCES_DIRECTORY} /Standalone/InternalSynth.h )
426426source_group ("Source\\ Standalone" FILES ${plugdata_standalone_sources} )
427427
428+ if (NOT ${BUILD_CUSTOM_PLUGIN} )
429+ set (DOCUMENT_EXTENSIONS "pd plugdata" )
430+ else ()
431+
428432if (NOT "${CMAKE_SYSTEM_NAME} " MATCHES "iOS" )
429433set (AU_EFFECT_TYPE kAudioUnitType_MusicEffect)
430434juce_add_gui_app (plugdata_standalone
@@ -435,7 +439,7 @@ juce_add_gui_app(plugdata_standalone
435439 CAMERA_PERMISSION_ENABLED TRUE
436440 HARDENED_RUNTIME_ENABLED ${HARDENED_RUNTIME_ENABLED}
437441 HARDENED_RUNTIME_OPTIONS ${HARDENED_RUNTIME_OPTIONS}
438- DOCUMENT_EXTENSIONS pd plugdata
442+ DOCUMENT_EXTENSIONS ${DOCUMENT_EXTENSIONS}
439443 BUNDLE_ID com.plugdata.plugdata
440444 )
441445else ()
@@ -464,7 +468,7 @@ juce_add_plugin(plugdata_standalone
464468 LV2URI https://github.com/timothyschoen/plugdata
465469 PRODUCT_NAME ${STANDALONE_NAME}
466470 AU_MAIN_TYPE kAudioUnitType_MusicDevice
467- DOCUMENT_EXTENSIONS pd plugdata
471+ DOCUMENT_EXTENSIONS ${DOCUMENT_EXTENSIONS}
468472 DOCUMENT_BROWSER_ENABLED TRUE
469473 BUNDLE_ID com.plugdata.plugdata
470474 APP_GROUPS_ENABLED TRUE
You can’t perform that action at this time.
0 commit comments