fix(lua): mark package as optional

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-02 11:43:23 -07:00
parent 36fe8e5c5f
commit 1b9cf816c4

View file

@ -119,7 +119,7 @@ if(NOT "${TCMALLOC_FOUND}" AND "${TRACK_MEMORY_USAGE}" MATCHES "ON")
endif()
endif()
find_package(Lua52 REQUIRED)
find_package(Lua52)
if ("${LUA52_FOUND}" MATCHES "TRUE")
message(STATUS "Using Lua 5.2 script language")
set(EXTRA_LIBS ${EXTRA_LIBS} ${LUA_LIBRARIES})