FindLua: Add library name for Lua 5.3 on homebrew

Homebrew installs lua 5.3 like this:

    Cellar/lua53/5.3.2_2/lib/liblua.5.3.2.dylib
    Cellar/lua53/5.3.2_2/lib/liblua.5.3.dylib
    lib/liblua.5.3.2.dylib
    lib/liblua.5.3.dylib

Add the `liblua.{$VERSION}` naming scheme to our searched names.
This commit is contained in:
Anders Bakken 2016-05-07 12:11:27 -07:00 committed by Brad King
parent d95fbdb709
commit 25f34deab6
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ function(set_lua_version_vars)
lua${CMAKE_MATCH_1}${CMAKE_MATCH_2}
lua${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
lua.${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
)
endforeach ()