| @@ -1057,7 +1057,6 @@ function(juce_enable_vst3_manifest_step shared_code_target) | |||||
| # Use the helper tool to write out the moduleinfo.json | # Use the helper tool to write out the moduleinfo.json | ||||
| add_custom_command(TARGET ${target_name} POST_BUILD | add_custom_command(TARGET ${target_name} POST_BUILD | ||||
| COMMAND ${CMAKE_COMMAND} -E remove -f "${product}/Contents/moduleinfo.json" | |||||
| COMMAND ${CMAKE_COMMAND} -E make_directory "${product}/Contents/Resources" | COMMAND ${CMAKE_COMMAND} -E make_directory "${product}/Contents/Resources" | ||||
| COMMAND juce_vst3_helper | COMMAND juce_vst3_helper | ||||
| -create | -create | ||||
| @@ -1116,6 +1115,12 @@ function(_juce_set_plugin_target_properties shared_code_target kind) | |||||
| get_target_property(vst3_auto_manifest ${shared_code_target} JUCE_VST3_AUTO_MANIFEST) | get_target_property(vst3_auto_manifest ${shared_code_target} JUCE_VST3_AUTO_MANIFEST) | ||||
| add_custom_command(TARGET ${target_name} POST_BUILD | |||||
| COMMAND ${CMAKE_COMMAND} -E echo "removing moduleinfo.json" | |||||
| COMMAND ${CMAKE_COMMAND} -E remove -f | |||||
| "${output_path}/Contents/moduleinfo.json" | |||||
| "${output_path}/Contents/Resources/moduleinfo.json") | |||||
| if(vst3_auto_manifest) | if(vst3_auto_manifest) | ||||
| juce_enable_vst3_manifest_step(${shared_code_target}) | juce_enable_vst3_manifest_step(${shared_code_target}) | ||||
| endif() | endif() | ||||