From 27a0bf662d7dd46823222fd95d73587a0c7a095c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 4 Dec 2015 12:06:08 +0000 Subject: 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 --- src/plugins/General/kdenotify/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/plugins/General/kdenotify') 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() -- cgit v1.2.3-13-gbd6f