summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-02 16:30:13 +0200
committermadmaxoft <github@xoft.cz>2014-07-02 16:30:45 +0200
commit1c16862ae522b2124e7fd3b1a2dce7807f33b503 (patch)
treef43be4fbd0bbbe63b2f0ed183dd5dee41dc1a637 /src/CMakeLists.txt
parentFixed printf formats for Win builds (diff)
downloadcuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar.gz
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar.bz2
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar.lz
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar.xz
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.tar.zst
cuberite-1c16862ae522b2124e7fd3b1a2dce7807f33b503.zip
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b1b880b7b..c905ebebe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -88,7 +88,7 @@ if (WIN32)
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/Bindings.cpp ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/Bindings.h
# Copy the Lua DLL into the Bindings folder, so that tolua can run from there:
- COMMAND copy /y ..\\..\\MCServer\\lua51.dll .
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different ..\\..\\MCServer\\lua51.dll .\\lua51.dll
# Regenerate bindings:
COMMAND tolua -L virtual_method_hooks.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg