diff options
author | madmaxoft <github@xoft.cz> | 2014-07-02 16:30:13 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-02 16:30:45 +0200 |
commit | 1c16862ae522b2124e7fd3b1a2dce7807f33b503 (patch) | |
tree | f43be4fbd0bbbe63b2f0ed183dd5dee41dc1a637 | |
parent | Fixed printf formats for Win builds (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/CMakeLists.txt | 2 |
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 |