summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-26 14:06:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-26 14:07:01 (GMT)
commita57225c4fc5cbbf063d86e0f911c552bc0fabb9d (patch)
treeb19c838177b6879b41b5c882bb6bf295a07ce59f /Modules
parentc8137850445d180bd5f3b55d4f9e80d9cbcf0baa (diff)
parent98dfdab19c07cf795678000c1681ea063843b0ed (diff)
downloadCMake-a57225c4fc5cbbf063d86e0f911c552bc0fabb9d.zip
CMake-a57225c4fc5cbbf063d86e0f911c552bc0fabb9d.tar.gz
CMake-a57225c4fc5cbbf063d86e0f911c552bc0fabb9d.tar.bz2
Merge topic 'FindLua-names-per-dir'
98dfdab19c FindLua: Search for all library names in each path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2412
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLua.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake
index e86c15c..68530b3 100644
--- a/Modules/FindLua.cmake
+++ b/Modules/FindLua.cmake
@@ -198,6 +198,7 @@ endif ()
find_library(LUA_LIBRARY
NAMES ${_lua_library_names} lua
+ NAMES_PER_DIR
HINTS
ENV LUA_DIR
PATH_SUFFIXES lib