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:
parent
d95fbdb709
commit
25f34deab6
|
@ -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}
|
||||||
lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
|
lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
|
||||||
|
lua.${CMAKE_MATCH_1}.${CMAKE_MATCH_2}
|
||||||
)
|
)
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue