diff --git a/lib/luajit-cmake/CMakeLists.txt b/lib/luajit-cmake/CMakeLists.txt index 7baf878c775..051a800f524 100644 --- a/lib/luajit-cmake/CMakeLists.txt +++ b/lib/luajit-cmake/CMakeLists.txt @@ -13,7 +13,7 @@ endif() get_directory_property(hasParent PARENT_DIRECTORY) if(LUAJIT_DIR) - project(luajit) + project(luajit LANGUAGES C) include(LuaJIT.cmake) if (hasParent) set(LUA_TARGET $ PARENT_SCOPE) @@ -24,7 +24,7 @@ if(LUAJIT_DIR) endif() endif() elseif(LUA_DIR) - project(lua) + project(lua LANGUAGES C) include(lua.cmake) if (hasParent) set(LUA_TARGET $ PARENT_SCOPE)