diff --git a/CMakeLists.txt b/CMakeLists.txt index c4102a7040..7466ea7593 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -491,7 +491,7 @@ else(USE_LUAJIT) find_package(Lua REQUIRED) add_compile_definitions(NO_LUAJIT) endif(USE_LUAJIT) -if (NOT WIN32) +if (NOT WIN32 AND NOT ANDROID) include(cmake/CheckLuaCustomAllocator.cmake) endif()