Skip to content

Commit

Permalink
Fixed|CMake: Installing a file to multiple directories
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 25, 2020
1 parent 1d394e9 commit 4511eca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doomsday/apps/client/CMakeLists.txt
Expand Up @@ -267,10 +267,10 @@ if (UNIX_LINUX)
net.dengine.Doomsday.desktop)
install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/net.dengine.Doomsday.desktop
DESTINATION share/applications)
install (FILES res/linux/deng-logo-256.png
DESTINATION ${DE_INSTALL_DATA_DIR}
DESTINATION share/icons/hicolor/256x256/apps
RENAME net.dengine.Doomsday.png)
foreach (dest ${DE_INSTALL_DATA_DIR};share/icons/hicolor/256x256/apps)
install (FILES res/linux/deng-logo-256.png DESTINATION ${dest}
RENAME net.dengine.Doomsday.png)
endforeach (dest)
install (FILES res/linux/net.dengine.Doomsday.metainfo.xml
DESTINATION share/metainfo
RENAME net.dengine.Doomsday.appdata.xml)
Expand Down

0 comments on commit 4511eca

Please sign in to comment.