CMake: Fix mkdir error when repeatedly building for macOS

pull/989/head
Connor McLaughlin 4 years ago
parent 6624660b0d
commit e8d77448c7

@ -165,7 +165,7 @@ if(APPLE)
# Copy translations into the bundle # Copy translations into the bundle
add_custom_command(TARGET duckstation-qt add_custom_command(TARGET duckstation-qt
POST_BUILD POST_BUILD
COMMAND mkdir $<TARGET_FILE_DIR:duckstation-qt>/translations COMMAND mkdir -p $<TARGET_FILE_DIR:duckstation-qt>/translations
COMMAND cp ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations/*.qm $<TARGET_FILE_DIR:duckstation-qt>/translations) COMMAND cp ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/translations/*.qm $<TARGET_FILE_DIR:duckstation-qt>/translations)
# Copy MoltenVK into the bundle # Copy MoltenVK into the bundle

Loading…
Cancel
Save