Comment 13 for bug 1073932

Revision history for this message
Jens Beyer (qcumber-some) wrote :

Hmm... just checked the sources.

We declare:
find_package(Lua51 REQUIRED)

The FindLua51.cmake file from CMake 2.8 extracts the version information from lua.h and should fail via HANDLE_STANDARD_ARGS.

Doublechecked it on Debian Jessie with liblua5.1-dev uninstalled and liblua5.2-dev installed - failed with required package not found.

I guess the suggestion from #11 is already there.