1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Fix mac build

This commit is contained in:
John Maguire 2010-05-11 12:51:31 +00:00
parent 5dd0a9c35f
commit ff4eb346da
4 changed files with 8 additions and 3 deletions

View File

@ -68,6 +68,7 @@ target_link_libraries(clementine_lib
qtiocompressor
lastfm
chardet
z
${GOBJECT_LIBRARIES}
${GLIB_LIBRARIES}
${TAGLIB_LIBRARIES}
@ -83,7 +84,6 @@ if (APPLE)
/System/Library/Frameworks/Foundation.framework
/System/Library/Frameworks/AppKit.framework
)
include_directories(${GROWL}/Headers)
include_directories(${SPARKLE}/Headers)
else (APPLE)
target_link_libraries(clementine_lib qxt)

View File

@ -61,6 +61,10 @@ if(NOT APPLE AND NOT WIN32)
list(APPEND HEADERS mpris.h)
endif(NOT APPLE AND NOT WIN32)
if(APPLE)
list(APPEND SOURCES mac_startup.mm)
include_directories(${SPARKLE})
endif(APPLE)
qt4_wrap_cpp(MOC ${HEADERS})

View File

@ -10,7 +10,7 @@
#import <AppKit/NSNibDeclarations.h>
#import <Sparkle/SUUpdater.h>
#include "globalshortcuts/globalshortcuts.h"
#include "globalshortcuts.h"
#include "mac_startup.h"
#include <QCoreApplication>

View File

@ -42,7 +42,8 @@ set(UI
)
if(APPLE)
list(APPEND SOURCES osd_mac.mm mac_startup.mm)
list(APPEND SOURCES osd_mac.mm)
include_directories(${GROWL}/Headers)
else(APPLE)
if(WIN32)
list(APPEND SOURCES osd_win.cpp)