diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-23 09:17:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-23 09:17:32 +0200 |
commit | 0b831dd2ba26e8d13b166efe914e9234ee5d04e1 (patch) | |
tree | c251581c2b52ec40d15cf8d1078da7bfa42f831a /externals | |
parent | Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes properly (#580) (diff) | |
download | yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar.gz yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar.bz2 yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar.lz yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar.xz yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.tar.zst yuzu-0b831dd2ba26e8d13b166efe914e9234ee5d04e1.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/cmake-modules/WindowsCopyFiles.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/cmake-modules/WindowsCopyFiles.cmake b/externals/cmake-modules/WindowsCopyFiles.cmake index a21b2e2d7..cd0c2ce47 100644 --- a/externals/cmake-modules/WindowsCopyFiles.cmake +++ b/externals/cmake-modules/WindowsCopyFiles.cmake @@ -22,7 +22,7 @@ function(windows_copy_files TARGET SOURCE_DIR DEST_DIR) # cmake adds an extra check for command success which doesn't work too well with robocopy # so trick it into thinking the command was successful with the || cmd /c "exit /b 0" add_custom_command(TARGET ${TARGET} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E make_directory ${DEST_DIR} + COMMAND if not exist ${DEST_DIR} mkdir ${DEST_DIR} 2> nul COMMAND robocopy ${SOURCE_DIR} ${DEST_DIR} ${ARGN} /NJH /NJS /NDL /NFL /NC /NS /NP || cmd /c "exit /b 0" ) -endfunction() +endfunction()
\ No newline at end of file |