CI/Flatpak: Improve install behaviour

Use "standard" install path.
This commit is contained in:
Stenzek
2024-09-23 17:22:33 +10:00
parent dae38cb309
commit d67b826033
11 changed files with 51 additions and 20 deletions

View File

@ -225,5 +225,5 @@ endfunction()
function(install_imported_dep_library name)
get_target_property(SONAME "${name}" IMPORTED_SONAME_RELEASE)
get_target_property(LOCATION "${name}" IMPORTED_LOCATION_RELEASE)
install(FILES "${LOCATION}" RENAME "${SONAME}" DESTINATION "${CMAKE_INSTALL_PREFIX}")
install(FILES "${LOCATION}" RENAME "${SONAME}" DESTINATION "${CMAKE_INSTALL_LIBDIR}")
endfunction()