OBSOLETE: Use https://github.com/conan-io/conan-center-index/tree/master/recipes/lua instead.
Conan.io package for lua library
Download conan client from Conan.io and run:
$ python build.py
$ conan upload lua/5.1.4@hilborn/stable --all
$ conan install lua/5.1.4@hilborn/stable
If you handle multiple dependencies in your project is better to add a conanfile.txt
[requires]
lua/5.1.4@hilborn/stable
[options]
lua:shared=True # False
[generators]
txt
cmake
Complete the installation of requirements for your project running:
mkdir build && cd build && conan install ..
Project setup installs the library (and all its dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.