summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
committer mickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
commit5df13d7b2acd41c54bed6253afac827bc864ea5a (patch) (unidiff)
tree8c3672a0be7f09094c0ec6658f98fd762108c17f /libopie2
parent5d2442fc6e0fb992b9fe3998cc7b9ee6dffb8e2b (diff)
downloadopie-5df13d7b2acd41c54bed6253afac827bc864ea5a.zip
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.gz
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.bz2
conditionally link against -lopiedb, i.e. only when ENABLE_SQL_PIM_BACKEND=y
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/opiepim.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro
index b341819..c328315 100644
--- a/libopie2/opiepim/opiepim.pro
+++ b/libopie2/opiepim/opiepim.pro
@@ -8,15 +8,18 @@ SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp
8 opimnotifymanager.cpp opimevent.cpp 8 opimnotifymanager.cpp opimevent.cpp
9INTERFACES = 9INTERFACES =
10TARGET = opiepim2 10TARGET = opiepim2
11VERSION = 1.8.3 11VERSION = 1.8.4
12INCLUDEPATH += $(OPIEDIR)/include 12INCLUDEPATH += $(OPIEDIR)/include
13DEPENDPATH += $(OPIEDIR)/include 13DEPENDPATH += $(OPIEDIR)/include
14LIBS += -lopiecore2 -lopiedb2 14LIBS += -lopiecore2
15 15
16include ( core/core.pro ) 16include ( core/core.pro )
17include ( core/backends/backends.pro ) 17include ( core/backends/backends.pro )
18include ( ui/ui.pro ) 18include ( ui/ui.pro )
19 19
20contains( ENABLE_SQL_PIM_BACKEND, y )
21 LIBS += -lopiedb2
22
20!contains( platform, x11 ) { 23!contains( platform, x11 ) {
21 include ( $(OPIEDIR)/include.pro ) 24 include ( $(OPIEDIR)/include.pro )
22} 25}