From 47402c359d0e78a3f8f3e0425f32fa4913afee35 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)