|
@@ -167,6 +167,7 @@ endif ()
|
|
|
if (URHO3D_LUA)
|
|
if (URHO3D_LUA)
|
|
|
# The host tool must be built natively
|
|
# The host tool must be built natively
|
|
|
if (CMAKE_CROSSCOMPILING OR URHO3D_LUAJIT)
|
|
if (CMAKE_CROSSCOMPILING OR URHO3D_LUAJIT)
|
|
|
|
|
+ check_native_compiler_exist ()
|
|
|
# When cross-compiling or using LuaJIT, build the tolua++ host tool as external project using normal Lua (there is not much point using LuaJIT for the tool building even when technically it can)
|
|
# When cross-compiling or using LuaJIT, build the tolua++ host tool as external project using normal Lua (there is not much point using LuaJIT for the tool building even when technically it can)
|
|
|
include (ExternalProject)
|
|
include (ExternalProject)
|
|
|
if (IOS)
|
|
if (IOS)
|