diff options
author | Michał Janiszewski <janisozaur@users.noreply.github.com> | 2018-06-24 21:27:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-24 21:27:00 +0200 |
commit | 23dc36ed716df51dda44dcdea9bf78d037ee071a (patch) | |
tree | fbacf7b1729ebda5d6b1dce558e8775d1ef20f33 | |
parent | Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader (#583) (diff) | |
download | yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar.gz yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar.bz2 yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar.lz yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar.xz yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.tar.zst yuzu-23dc36ed716df51dda44dcdea9bf78d037ee071a.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/cmake-modules/WindowsCopyFiles.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/cmake-modules/WindowsCopyFiles.cmake b/externals/cmake-modules/WindowsCopyFiles.cmake index cd0c2ce47..72cec5354 100644 --- a/externals/cmake-modules/WindowsCopyFiles.cmake +++ b/externals/cmake-modules/WindowsCopyFiles.cmake @@ -1,4 +1,4 @@ -# Copyright 2016 Citra Emulator Project +# Copyright 2018 Yuzu Emulator Project # Licensed under GPLv2 or any later version # Refer to the license.txt file included. @@ -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 if not exist ${DEST_DIR} mkdir ${DEST_DIR} 2> nul + COMMAND ${CMAKE_COMMAND} -E make_directory ${DEST_DIR} COMMAND robocopy ${SOURCE_DIR} ${DEST_DIR} ${ARGN} /NJH /NJS /NDL /NFL /NC /NS /NP || cmd /c "exit /b 0" ) -endfunction()
\ No newline at end of file +endfunction() |