Script: add optional bounded Lua runtime adapter (#39)
This commit is contained in:
1 parent
b3c566ed4d
commit
ae7bedb755
7 files changed
+418
-58
No files matched your search
@@ -280,6 +280,10 @@ function(void_fetch_dependency DEP_NAME)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(NOT VOID_FETCH_LUA)
|
||||
message(FATAL_ERROR
|
||||
"[Void] Lua 5.4 not found and VOID_FETCH_LUA=OFF")
|
||||
endif()
|
||||
message(STATUS "[Void] Lua 5.4 not found - falling back to FetchContent")
|
||||
FetchContent_Declare(Lua
|
||||
URL https://www.lua.org/ftp/lua-5.4.9.tar.gz
|
||||
|
||||
Reference in new issue
Block a user