mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-10 01:01:46 +00:00
Changed cmake module install path to lib/share
This commit is contained in:
parent
1e4b4e887c
commit
fd4daf7edd
@ -150,17 +150,17 @@ write_basic_package_version_file(
|
|||||||
|
|
||||||
install(EXPORT LuaTargets
|
install(EXPORT LuaTargets
|
||||||
FILE LuaTargets.cmake
|
FILE LuaTargets.cmake
|
||||||
DESTINATION "lib/cmake/Lua"
|
DESTINATION "lib/share/cmake/Lua"
|
||||||
NAMESPACE Lua::
|
NAMESPACE Lua::
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
LuaConfig.cmake.in
|
LuaConfig.cmake.in
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
||||||
INSTALL_DESTINATION "lib/cmake/Lua"
|
INSTALL_DESTINATION "lib/share/cmake/Lua"
|
||||||
)
|
)
|
||||||
|
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/LuaConfig.cmake"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfigVersion.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/LuaConfigVersion.cmake"
|
||||||
DESTINATION "lib/cmake/Lua"
|
DESTINATION "lib/share/cmake/Lua"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user