mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-10 01:01:46 +00:00
15 lines
676 B
CMake
15 lines
676 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(lua-config-package-test C)
|
|
|
|
find_package(Lua REQUIRED CONFIG)
|
|
|
|
add_executable(lua-config-package-build-test-using-static-target "./lua-config-package-build-test.c")
|
|
target_link_libraries(lua-config-package-build-test-using-static-target Lua::lua_static)
|
|
|
|
add_executable(lua-config-package-build-test-using-shared-target "./lua-config-package-build-test.c")
|
|
target_link_libraries(lua-config-package-build-test-using-shared-target Lua::lua_static)
|
|
|
|
add_executable(lua-config-package-build-test-using-variables "./lua-config-package-build-test.c")
|
|
target_link_libraries(lua-config-package-build-test-using-variables ${LUA_LIBRARIES})
|
|
|