Changeset View
Changeset View
Standalone View
Standalone View
desktop/CMakeLists.txt
1 | # install the .desktop and rc files in the correct place | 1 | # install the .desktop and rc files in the correct place | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | configure_file(org.kde.spectacle.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/org.kde.spectacle.desktop) | ||||
3 | install( | 4 | install( | ||
4 | PROGRAMS org.kde.spectacle.desktop | 5 | PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.spectacle.desktop | ||
5 | DESTINATION ${XDG_APPS_INSTALL_DIR} | 6 | DESTINATION ${XDG_APPS_INSTALL_DIR} | ||
6 | ) | 7 | ) | ||
7 | 8 | | |||
8 | install( DIRECTORY DESTINATION "${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel" ) | 9 | install( DIRECTORY DESTINATION "${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel" ) | ||
9 | install( | 10 | install( | ||
10 | CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink \"${KDE_INSTALL_FULL_APPDIR}/org.kde.spectacle.desktop\" \"\$ENV{DESTDIR}${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel/org.kde.spectacle.desktop\")" | 11 | CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink \"${KDE_INSTALL_FULL_APPDIR}/org.kde.spectacle.desktop\" \"\$ENV{DESTDIR}${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel/org.kde.spectacle.desktop\")" | ||
11 | ) | 12 | ) | ||
12 | 13 | | |||
Show All 24 Lines |