diff options
author | Anders Bakken <agbakken@gmail.com> | 2016-05-07 19:11:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-09 13:10:05 (GMT) |
commit | 25f34deab6501258200cfebb6d7d84490bc092af (patch) | |
tree | a8ca7a73e124c893b529393753e0a242f74113f7 /Modules | |
parent | d95fbdb70944a8f9a7e6ac11bc51f410a99aafcd (diff) | |
download | CMake-25f34deab6501258200cfebb6d7d84490bc092af.zip CMake-25f34deab6501258200cfebb6d7d84490bc092af.tar.gz CMake-25f34deab6501258200cfebb6d7d84490bc092af.tar.bz2 |
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.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindLua.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindLua.cmake b/Modules/FindLua.cmake index 731f5f2..4e00a92 100644 --- a/Modules/FindLua.cmake +++ b/Modules/FindLua.cmake @@ -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 () |