Skip to content

Commit d9a90a6

Browse files
lib: luajit: only require a C compiler
Upstream: zhaozg/luajit-cmake#17 Signed-off-by: Thomas Devoogdt <[email protected]>
1 parent 1d68dfc commit d9a90a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/luajit-cmake/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endif()
1313

1414
get_directory_property(hasParent PARENT_DIRECTORY)
1515
if(LUAJIT_DIR)
16-
project(luajit)
16+
project(luajit LANGUAGES C)
1717
include(LuaJIT.cmake)
1818
if (hasParent)
1919
set(LUA_TARGET $<TARGET_FILE:luajit> PARENT_SCOPE)
@@ -24,7 +24,7 @@ if(LUAJIT_DIR)
2424
endif()
2525
endif()
2626
elseif(LUA_DIR)
27-
project(lua)
27+
project(lua LANGUAGES C)
2828
include(lua.cmake)
2929
if (hasParent)
3030
set(LUA_TARGET $<TARGET_FILE:lua> PARENT_SCOPE)

0 commit comments

Comments
 (0)