aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/kdenotify/CMakeLists.txt')
-rw-r--r--src/plugins/General/kdenotify/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/General/kdenotify/CMakeLists.txt b/src/plugins/General/kdenotify/CMakeLists.txt
index 5fac1e62e..6ae054805 100644
--- a/src/plugins/General/kdenotify/CMakeLists.txt
+++ b/src/plugins/General/kdenotify/CMakeLists.txt
@@ -53,7 +53,9 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
ADD_LIBRARY(kdenotify MODULE ${libkdenotify_SRCS} ${libkdenotify_RCC_SRCS} ${libkdenotify_UIS_H})
add_dependencies(kdenotify qmmpui)
-target_link_libraries(kdenotify ${QT_LIBRARIES} -lqmmpui -lqmmp)
+target_link_libraries(kdenotify ${QT_LIBRARIES} qmmpui libqmmp)
install(TARGETS kdenotify DESTINATION ${LIB_DIR}/qmmp/General)
-install(FILES images/empty_cover.png DESTINATION share/qmmp/images)
-install(FILES images/app_icon.png DESTINATION share/qmmp/images)
+IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
+ install(FILES images/empty_cover.png DESTINATION share/qmmp/images)
+ install(FILES images/app_icon.png DESTINATION share/qmmp/images)
+ENDIF()