diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index 061b57fac..abb770efb 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -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}")