mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 06:07:51 +08:00
aaddcb1afb
* Add post-build usage info for Lua port. * Fix CMake command that moves info file * Update Lua package version number
9 lines
409 B
Plaintext
9 lines
409 B
Plaintext
Use this package via the module FindLua that comes with CMake. To use in your CMakeLists.txt:
|
|
|
|
include(FindLua)
|
|
find_package(lua REQUIRED)
|
|
target_link_libraries(main PRIVATE ${LUA_LIBRARIES})
|
|
target_include_directories(main PRIVATE ${LUA_INCLUDE_DIR})
|
|
|
|
For more information about the variables set by this module, please see:
|
|
https://cmake.org/cmake/help/latest/module/FindLua.html |