diff --git a/cli/src/main.cpp b/cli/src/main.cpp index d0706715..959e5f0b 100644 --- a/cli/src/main.cpp +++ b/cli/src/main.cpp @@ -67,11 +67,18 @@ if(BUILD_VST3) ) # copy VST3 to output directory - add_custom_command(TARGET ${VST3_TARGET} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_directory - $ - "${OUTPUT_DIR}/${PROJECT_NAME}.vst3" - ) + if (APPLE) + add_custom_command(TARGET ${VST3_TARGET} POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_directory + $ + "${OUTPUT_DIR}/${PROJECT_NAME}.vst3" + ) + else() + add_custom_command(TARGET ${VST3_TARGET} POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_directory + "${OUTPUT_DIR}/${PROJECT_NAME}.vst3" + ) + endif() endif() )"; @@ -133,11 +140,6 @@ bool is_valid_au_manufacturer_code(const std::string& code) return false; } - if (code == "0000") - { - return false; - } - if (!std::isupper(code[0])) { return false;