forked from osmocom/wireshark
CMake: Don't cache LUA_LIBRARIES.
Don't cache the LUA_LIBRARIES variable. This matches the behavior of the other library modules and fixes a compilation problem on my machine where /usr/local/lib/liblua.dylib wasn't showing up in the various build.make and link.txt files. Change-Id: Ib75ef303f2e67b266a246621718d0ea2ab885dca Reviewed-on: https://code.wireshark.org/review/5603 Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
0d20456a2a
commit
f0bd31171c
|
@ -75,7 +75,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(LUA DEFAULT_MSG LUA_LIBRARY LUA_INCLUDE_DIR)
|
|||
message("LUA INCLUDEs version: ${LUA_VERSION}")
|
||||
|
||||
IF(LUA_LIBRARY)
|
||||
SET( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries")
|
||||
SET( LUA_LIBRARIES "${LUA_LIBRARY}")
|
||||
SET( LUA_INCLUDE_DIRS ${LUA_INCLUDE_DIR} )
|
||||
ELSE(LUA_LIBRARY)
|
||||
SET( LUA_LIBRARIES )
|
||||
|
|
Loading…
Reference in New Issue