[CMake] [PATCH] FreeBSD Lua5.x default install path
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Oct 22 15:53:13 EDT 2008
On Wednesday 22 October 2008, Félix C. Morency wrote:
> Hi,
>
> It appears that FreeBSD 7.1 (beta) installs Lua5.1 in the following default
> path:
>
> /usr/local/lib/lua51/
>
> The current FindLua51 module doesn't search in this path and this results
> in a not found library. Some goes for Lua5.0.
>
> I attached two patches (one for 5.0 and one for 5.1) that add the correct
> path suffix for the library to be found under FreeBSD 7.1 (beta).
Nice straight-forward patches.
Eric, what do you think ?
I had a quick look at FindLua5?.cmake and noticed that in the FIND_LIBRARY()
calls all the default dirs are listed again,
e.g. /usr/local, /opt, /opt/local etc. (see Modules/Platforms/UnixPaths.cmake
for the full list of default search directories). Can they be removed there ?
I don't feel like doing this, Eric should be better qualified for this.
Alex
More information about the CMake
mailing list