summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-23 21:37:23 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-23 21:37:23 +0100
commit83d0c6d6a7358bc18176d4e5432d635f9ffdfd55 (patch)
tree092b0353c7e6be10db1122562a667f40a5873a93 /lib
parentUpdated the ToLua windows executable. (diff)
downloadcuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar.gz
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar.bz2
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar.lz
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar.xz
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.tar.zst
cuberite-83d0c6d6a7358bc18176d4e5432d635f9ffdfd55.zip
Diffstat (limited to '')
-rw-r--r--lib/tolua++/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
index 7e7498411..e5c8ce3e8 100644
--- a/lib/tolua++/CMakeLists.txt
+++ b/lib/tolua++/CMakeLists.txt
@@ -9,7 +9,7 @@ include_directories ("${PROJECT_SOURCE_DIR}")
find_program(XXD_EXECUTABLE xxd)
-if(NOT XXD_EXECUTABLE STREQUAL "xxd-NOTFOUND")
+if(NOT XXD_EXECUTABLE STREQUAL "XXD_EXECUTABLE-NOTFOUND")
add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/src/bin/basic_lua.h
COMMAND ${XXD_EXECUTABLE} -i lua/basic.lua | sed 's/unsigned char/static const unsigned char/g' >basic_lua.h
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/bin/