CMake: Fix mkdir error when repeatedly building for macOS

This commit is contained in:
Connor McLaughlin 2020-10-17 18:50:16 +10:00
parent 6624660b0d
commit e8d77448c7
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ if(APPLE)
# Copy translations into the bundle
add_custom_command(TARGET duckstation-qt
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)
# Copy MoltenVK into the bundle