summaryrefslogtreecommitdiff
path: root/externals/cmake-modules
diff options
context:
space:
mode:
authorGravatar Michał Janiszewski2018-06-05 22:46:54 +0200
committerGravatar Michał Janiszewski2018-06-05 22:46:54 +0200
commit5c3d5d08495073178bedccbc688ac3f3eb73abe3 (patch)
tree2e1f3835af353bb65210d469ffa069dfdbb9364c /externals/cmake-modules
parentDrop /std:c++latest from MSVC command line (diff)
downloadyuzu-5c3d5d08495073178bedccbc688ac3f3eb73abe3.tar.gz
yuzu-5c3d5d08495073178bedccbc688ac3f3eb73abe3.tar.xz
yuzu-5c3d5d08495073178bedccbc688ac3f3eb73abe3.zip
Use Ninja for MSVC AppVeyor builds
Diffstat (limited to 'externals/cmake-modules')
-rw-r--r--externals/cmake-modules/WindowsCopyFiles.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/cmake-modules/WindowsCopyFiles.cmake b/externals/cmake-modules/WindowsCopyFiles.cmake
index cd0c2ce47..a21b2e2d7 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)
22 # cmake adds an extra check for command success which doesn't work too well with robocopy 22 # cmake adds an extra check for command success which doesn't work too well with robocopy
23 # so trick it into thinking the command was successful with the || cmd /c "exit /b 0" 23 # so trick it into thinking the command was successful with the || cmd /c "exit /b 0"
24 add_custom_command(TARGET ${TARGET} POST_BUILD 24 add_custom_command(TARGET ${TARGET} POST_BUILD
25 COMMAND if not exist ${DEST_DIR} mkdir ${DEST_DIR} 2> nul 25 COMMAND ${CMAKE_COMMAND} -E make_directory ${DEST_DIR}
26 COMMAND robocopy ${SOURCE_DIR} ${DEST_DIR} ${ARGN} /NJH /NJS /NDL /NFL /NC /NS /NP || cmd /c "exit /b 0" 26 COMMAND robocopy ${SOURCE_DIR} ${DEST_DIR} ${ARGN} /NJH /NJS /NDL /NFL /NC /NS /NP || cmd /c "exit /b 0"
27 ) 27 )
28endfunction() \ No newline at end of file 28endfunction()