summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-12-03 16:05:29 -0800
committerGerald Combs <gerald@wireshark.org>2014-12-04 00:16:41 +0000
commitf0bd31171c3708b1502de051dbe36ee2e055ae5f (patch)
tree32b810a711a76519b6a113483eb2498a6285e0f7 /cmake
parent0d20456a2a122fb6fed068ffe86641fe32fa81f4 (diff)
downloadwireshark-f0bd31171c3708b1502de051dbe36ee2e055ae5f.tar.gz
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>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLUA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLUA.cmake b/cmake/modules/FindLUA.cmake
index 18489a8d83..f51eb7cba3 100644
--- a/cmake/modules/FindLUA.cmake
+++ b/cmake/modules/FindLUA.cmake
@@ -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 )