mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Add curl, freetype and luaJIT to CMAKE_BUILD_INFO
This commit is contained in:
parent
fb6a789991
commit
4ea0e4f606
2 changed files with 3 additions and 1 deletions
|
@ -187,8 +187,10 @@ find_path(LUA_INCLUDE_DIR luajit.h
|
|||
message (STATUS "LuaJIT library: ${LUA_LIBRARY}")
|
||||
message (STATUS "LuaJIT headers: ${LUA_INCLUDE_DIR}")
|
||||
|
||||
set(USE_LUAJIT 0)
|
||||
if(LUA_LIBRARY AND LUA_INCLUDE_DIR)
|
||||
message (STATUS "LuaJIT found.")
|
||||
set(USE_LUAJIT 1)
|
||||
else(LUA_LIBRARY AND LUA_INCLUDE_DIR)
|
||||
message (STATUS "LuaJIT not found, using bundled Lua.")
|
||||
set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue