mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-15 12:15:43 +08:00
Install package config files to share/cmake
This commit is contained in:
parent
aa5e05e3c1
commit
83b85410da
@ -150,17 +150,17 @@ write_basic_package_version_file(
|
||||
|
||||
install(EXPORT LuaTargets
|
||||
FILE LuaTargets.cmake
|
||||
DESTINATION "lib/share/cmake/Lua"
|
||||
DESTINATION "share/cmake/Lua"
|
||||
NAMESPACE Lua::
|
||||
)
|
||||
|
||||
configure_package_config_file(
|
||||
LuaConfig.cmake.in
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
||||
INSTALL_DESTINATION "lib/share/cmake/Lua"
|
||||
INSTALL_DESTINATION "share/cmake/Lua"
|
||||
)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfigVersion.cmake"
|
||||
DESTINATION "lib/share/cmake/Lua"
|
||||
DESTINATION "share/cmake/Lua"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user