CMakeLists: Use relative paths when marking some resources for installation on Linux

This commit is contained in:
OatmealDome 2026-03-05 23:06:27 -05:00
parent 20335955e3
commit 1028d1bf20
No known key found for this signature in database
GPG Key ID: A4BFAB0C67513B91

View File

@ -862,11 +862,11 @@ endif()
if(CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD|OpenBSD")
# Install the application icon and menu item
install(FILES Data/dolphin-emu.svg
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps)
DESTINATION share/icons/hicolor/scalable/apps)
install(FILES Data/dolphin-emu.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/256x256/apps)
DESTINATION share/icons/hicolor/256x256/apps)
install(FILES Data/dolphin-emu.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
DESTINATION share/applications)
# Install manpages
install(FILES Data/dolphin-emu.6
DESTINATION ${CMAKE_INSTALL_MANDIR}/man6)