From 5d9bc9e501f6088602735a716cb1e46a96d014a5 Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Sun, 25 Aug 2024 20:10:27 +0200 Subject: [PATCH] lib: luajit-cmake: CMakeLists.txt: do not require a CXX compiler Signed-off-by: Thomas Devoogdt --- lib/luajit-cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)