38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From eee42b2b0998555b035bdd71b1a815db16c0449f Mon Sep 17 00:00:00 2001
|
|
From: Thomas Devoogdt <thomas@devoogdt.com>
|
|
Date: Sun, 25 Aug 2024 20:10:27 +0200
|
|
Subject: [PATCH] lib: luajit-cmake: CMakeLists.txt: do not require a CXX
|
|
compiler
|
|
|
|
Upstream: https://github.com/fluent/fluent-bit/pull/9277
|
|
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
|
|
---
|
|
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 7baf878c7..051a800f5 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 $<TARGET_FILE:luajit> 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 $<TARGET_FILE:lua> PARENT_SCOPE)
|
|
--
|
|
2.43.0
|
|
|