summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-12 14:47:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-12 14:47:09 -0500
commit1534608421fce31bafdade29a152f5d328958ddb (patch)
treeacac995013e8fc679389e5fa0e9d00cc2b74818d /tdecore
parent3fefe5e7d33c6c28d8109f5791c1e0a4a432a07f (diff)
downloadtdelibs-1534608421fce31bafdade29a152f5d328958ddb.tar.gz
tdelibs-1534608421fce31bafdade29a152f5d328958ddb.zip
Fix upower FTBFS when WITH_NETWORK_MANAGER_BACKEND=OFF
This resolves Bug 1445
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt
index b8f512873..57f402ebe 100644
--- a/tdecore/CMakeLists.txt
+++ b/tdecore/CMakeLists.txt
@@ -21,6 +21,12 @@ endif()
if( WITH_UPOWER )
add_definitions( -DWITH_UPOWER )
+ set ( TDEUPOWER_INCLUDE_DIRECTORIES
+ ${DBUS_TQT_INCLUDE_DIRS}
+ )
+ set ( TDEUPOWER_LIBRARIES
+ ${DBUS_TQT_LIBRARIES}
+ )
endif( )
if( WITH_LIBART )
@@ -58,6 +64,7 @@ include_directories(
${LIBIDN_INCLUDE_DIRS}
${GAMIN_INCLUDEDIR}
${TDENM_INCLUDE_DIRECTORIES}
+ ${TDEUPOWER_INCLUDE_DIRECTORIES}
)
link_directories(
@@ -158,7 +165,7 @@ tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
VERSION 4.2.0
EMBED tdecorenetwork-static
- LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES} ${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM udev ${GAMIN_LIBRARIES} ${TDENM_LIBRARIES}
+ LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES} ${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM udev ${GAMIN_LIBRARIES} ${TDENM_LIBRARIES} ${TDEUPOWER_LIBRARIES}
DEPENDENCIES dcopidl dcopidl2cpp
DESTINATION ${LIB_INSTALL_DIR}
)