From 5df13d7b2acd41c54bed6253afac827bc864ea5a Mon Sep 17 00:00:00 2001 From: mickeyl Date: Fri, 26 Mar 2004 17:36:46 +0000 Subject: conditionally link against -lopiedb, i.e. only when ENABLE_SQL_PIM_BACKEND=y --- (limited to 'libopie2') 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 opimnotifymanager.cpp opimevent.cpp INTERFACES = TARGET = opiepim2 -VERSION = 1.8.3 +VERSION = 1.8.4 INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lopiecore2 -lopiedb2 +LIBS += -lopiecore2 include ( core/core.pro ) include ( core/backends/backends.pro ) include ( ui/ui.pro ) +contains( ENABLE_SQL_PIM_BACKEND, y ) + LIBS += -lopiedb2 + !contains( platform, x11 ) { include ( $(OPIEDIR)/include.pro ) } -- cgit v0.9.0.2