summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindLua.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindLua.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 23e50a6a..6a594a7d 100644
--- a/cmake/modules/FindLua.cmake
+++ b/cmake/modules/FindLua.cmake
@@ -184,7 +184,7 @@ find_library(LUA_LIBRARY
HINTS
${LUA_HINTS}
ENV LUA_DIR
- PATH_SUFFIXES lib
+ PATH_SUFFIXES lib ${_lua_library_names}
)
unset(_lua_library_names)