summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/opiecore.pro14
1 files changed, 12 insertions, 2 deletions
diff --git a/libopie2/opiecore/opiecore.pro b/libopie2/opiecore/opiecore.pro
index ee42368..a9562b5 100644
--- a/libopie2/opiecore/opiecore.pro
+++ b/libopie2/opiecore/opiecore.pro
@@ -5,5 +5,4 @@ HEADERS = oapplication.h \
oconfig.h \
odebug.h \
- ofilenotify.h \
oglobal.h \
oglobalsettings.h \
@@ -18,5 +17,4 @@ SOURCES = oapplication.cpp \
oconfig.cpp \
odebug.cpp \
- ofilenotify.cpp \
oglobal.cpp \
oglobalsettings.cpp \
@@ -27,4 +25,16 @@ SOURCES = oapplication.cpp \
xmltree.cpp
+
+# The following files are currently not compileable on mac !
+# Therfore I removed them from the build .. (eilers)
+
+CONFTEST = $$system( echo $CONFIG_TARGET_MACOSX )
+!contains( CONFTEST, y ) {
+HEADERS += ofilenotify.h
+SOURCES += ofilenotify.cpp
+} else {
+ message( "ofilenotify is not available in a mac build !" )
+}
+
include ( device/device.pro )