CMake: Install AppStream metainfo file with absolute path
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

Fixes CMake install with a separate build directory breakage introduced
by 1b1eae4409
This commit is contained in:
Andrew Kaster 2025-07-29 03:21:33 -06:00 committed by Jelle Raaijmakers
commit cf355d48b1
Notes: github-actions[bot] 2025-07-29 09:32:24 +00:00

View file

@ -119,7 +119,7 @@ if (ENABLE_INSTALL_FREEDESKTOP_FILES)
OUTPUT_VARIABLE GIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
configure_file(${FREEDESKTOP_RESOURCE_DIR}/org.ladybird.Ladybird.metainfo.xml.in org.ladybird.Ladybird.metainfo.xml @ONLY)
configure_file("${FREEDESKTOP_RESOURCE_DIR}/org.ladybird.Ladybird.metainfo.xml.in" "${CMAKE_CURRENT_BINARY_DIR}/org.ladybird.Ladybird.metainfo.xml" @ONLY)
install(FILES
"${FREEDESKTOP_RESOURCE_DIR}/org.ladybird.Ladybird.svg"
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps"
@ -136,7 +136,7 @@ if (ENABLE_INSTALL_FREEDESKTOP_FILES)
COMPONENT ladybird_Runtime
)
install(FILES
"org.ladybird.Ladybird.metainfo.xml"
"${CMAKE_CURRENT_BINARY_DIR}/org.ladybird.Ladybird.metainfo.xml"
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
COMPONENT ladybird_Runtime
)