mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[xdg] CMakeLists.txt: Fix installation of rp-config.desktop.
Need to use RENAME to rename the file, not INSTALL. Using INSTALL ends up creating a subdirectory instead of renaming the file. Fixes #367: "rp-config.desktop" file error Reported by @Amnesia1000.
This commit is contained in:
parent
ead260291e
commit
d514f63a1e
3
NEWS.md
3
NEWS.md
@ -14,6 +14,9 @@
|
||||
error for some symbol types.
|
||||
* Merged #359: [libromdata] ELFPrivate::addSymbolFields(): fix the symbol type names
|
||||
* Submitted by @DankRank.
|
||||
* xdg: Install rp-config.desktop correctly.
|
||||
* Fixes #367: "rp-config.desktop" file error
|
||||
* Reported by @Amnesia1000.
|
||||
|
||||
* Other changes:
|
||||
* libromdata's SOVERSION was bumped to 2 due to an ABI change in
|
||||
|
@ -13,7 +13,8 @@ INCLUDE(DirInstallPaths)
|
||||
# Desktop file
|
||||
IF(DIR_INSTALL_XDG_DESKTOP)
|
||||
INSTALL(FILES rp-config.desktop
|
||||
DESTINATION "${DIR_INSTALL_XDG_DESKTOP}/com.gerbilsoft.rom-properties.rp-config.desktop"
|
||||
RENAME com.gerbilsoft.rom-properties.rp-config.desktop
|
||||
DESTINATION "${DIR_INSTALL_XDG_DESKTOP}"
|
||||
COMPONENT "xdg")
|
||||
ENDIF(DIR_INSTALL_XDG_DESKTOP)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user