diff options
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/CMakeLists.txt b/src/Bindings/CMakeLists.txt index c4fae1148..ccd6f0a3f 100644 --- a/src/Bindings/CMakeLists.txt +++ b/src/Bindings/CMakeLists.txt @@ -147,9 +147,9 @@ if (NOT MSVC) else() ADD_CUSTOM_COMMAND( OUTPUT ${BINDING_OUTPUTS} - COMMAND tolua -L BindingsProcessor.lua -o Bindings.cpp -H Bindings.h AllToLua.pkg + COMMAND luaexe BindingsProcessor.lua WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DEPENDS ${BINDING_DEPENDENCIES} tolua + DEPENDS ${BINDING_DEPENDENCIES} luaexe ) endif() endif () |