mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
CMake: Fix mkdir error when repeatedly building for macOS
This commit is contained in:
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…
Reference in a new issue