aboutsummaryrefslogtreecommitdiff
path: root/src/app/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/CMakeLists.txt')
-rw-r--r--src/app/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
index acbbd2483..6e60603dc 100644
--- a/src/app/CMakeLists.txt
+++ b/src/app/CMakeLists.txt
@@ -60,8 +60,12 @@ target_link_libraries(qmmp ${QT_LIBRARIES} libqmmp qmmpui)
add_dependencies(qmmp qmmpui libqmmp)
install(TARGETS qmmp DESTINATION bin)
install(FILES qmmp.desktop DESTINATION share/applications)
-install(FILES qmmp_enqueue.desktop DESTINATION share/applications)
install(FILES images/16x16/qmmp.png DESTINATION share/icons/hicolor/16x16/apps)
install(FILES images/32x32/qmmp.png DESTINATION share/icons/hicolor/32x32/apps)
install(FILES images/48x48/qmmp.png DESTINATION share/icons/hicolor/48x48/apps)
install(FILES images/scalable/qmmp.svgz images/scalable/qmmp-simple.svgz DESTINATION share/icons/hicolor/scalable/apps)
+
+IF(USE_DIR_ASSOC)
+install(FILES qmmp_enqueue.desktop DESTINATION share/applications)
+install(FILES qmmp_dir.desktop DESTINATION share/applications)
+ENDIF(USE_DIR_ASSOC)