summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-02 19:48:05 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-02 19:48:05 +0200
commitf5659a08b8413bf756cd15308e66e7927cae8c9f (patch)
tree455172b964b2eb5eebb82b6366ce7ac2fb54fc48 /src/CMakeLists.txt
parentFixed player teleport food drain (diff)
parentMerge pull request #1139 from Howaner/Hooks (diff)
downloadcuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.gz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.bz2
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.lz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.xz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.zst
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.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