Changed install path slightly

This commit is contained in:
Walter Schell 2023-03-12 12:00:18 -04:00
parent e1d13df4a0
commit 539ab33b85

View File

@ -150,17 +150,17 @@ write_basic_package_version_file(
install(EXPORT LuaTargets install(EXPORT LuaTargets
FILE LuaTargets.cmake FILE LuaTargets.cmake
DESTINATION "lib/cmake" DESTINATION "lib/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" INSTALL_DESTINATION "lib/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" DESTINATION "lib/cmake/Lua"
) )