forked from mirror/openmw-tes3mp
[Server] Add FORCE_LUA parameter to CMakeLists.txt
This commit is contained in:
parent
a1988ac6ef
commit
7dde4db1fb
1 changed files with 2 additions and 1 deletions
|
@ -35,9 +35,10 @@ if(BUILD_WITH_PAWN)
|
|||
endif(BUILD_WITH_PAWN)
|
||||
|
||||
option(BUILD_WITH_LUA "Enable Terra/Lua language" ON)
|
||||
option(FORCE_LUA "Use Lua instead Terra" OFF)
|
||||
if(BUILD_WITH_LUA)
|
||||
#set(Terra_ROOT ${CMAKE_SOURCE_DIR}/external/terra/)
|
||||
if(WIN32)
|
||||
if(WIN32 OR FORCE_LUA)
|
||||
find_package(Lua51 REQUIRED)
|
||||
MESSAGE(STATUS "Found LUA_LIBRARY: ${LUA_LIBRARY}")
|
||||
MESSAGE(STATUS "Found LUA_INCLUDE_DIR: ${LUA_INCLUDE_DIR}")
|
||||
|
|
Loading…
Reference in a new issue