[CMake] FindLua51.cmake

Evgeny Ratnikov ratnikov.ev at gmail.com
Mon Jun 2 07:59:53 EDT 2008


Hi, cmakers!

I've tried to find lua through FindLua51 module, but this module seems
to be buggy.
I have lua-5.1 but after include(FindLua51) I have LUA50_FOUND "true".

Why not LUA51_FOUND?
Is this valid?
I think not.
Attached patch changes variable name LUA50_FOUND to LUA51_FOUND.

PS:
Even better may be single macro FindLua with version number instead of
FindLua50/FindLua51.

-- 
best regards, Evgeny Ratnikov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua51.patch
Type: text/x-diff
Size: 404 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080602/8007ad00/attachment.patch>


More information about the CMake mailing list