aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-04 12:06:08 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-04 12:06:08 +0000
commit27a0bf662d7dd46823222fd95d73587a0c7a095c (patch)
treebaa321a9300ee2560bb71c20cdf09295bf164843 /src/plugins/General/kdenotify
parentee2dcb552128031dce57f1cab62857c76e98916c (diff)
downloadqmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.tar.gz
qmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.tar.bz2
qmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.zip
building of .app package for MacOS X with CMake (patch by Ivan Ponomarev)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5807 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify')
-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()