diff options
author | Serghei Amelian <[email protected]> | 2012-02-15 02:36:12 +0200 |
---|---|---|
committer | Serghei Amelian <[email protected]> | 2012-02-15 02:36:12 +0200 |
commit | b5236f1d75d5784aa9f1dac7e826921e7c464b6b (patch) | |
tree | 413aac2a5fa3b7c4ae022ab24c49661c04eda861 /ksmserver/CMakeLists.txt | |
parent | 39c1afd3f898e9577981edf624e96d46777fb07e (diff) | |
download | tdebase-b5236f1d75d5784aa9f1dac7e826921e7c464b6b.tar.gz tdebase-b5236f1d75d5784aa9f1dac7e826921e7c464b6b.zip |
[tdebase/ksmserver] added UPower support
Diffstat (limited to 'ksmserver/CMakeLists.txt')
-rw-r--r-- | ksmserver/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ksmserver/CMakeLists.txt b/ksmserver/CMakeLists.txt index d0e82ec82..bd46dadcd 100644 --- a/ksmserver/CMakeLists.txt +++ b/ksmserver/CMakeLists.txt @@ -13,18 +13,24 @@ if( NOT DBUS_SYSTEM_BUS ) set( DBUS_SYSTEM_BUS "unix:path=/var/run/dbus/system_bus_socket" CACHE INTERNAL "" FORCE ) endif() +if( WITH_UPOWER ) + add_definitions( -DWITH_UPOWER ) +endif( ) + include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/tdmlib ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} + ${DBUS_1_TQT_INCLUDE_DIRS} ${DBUS_TQT_INCLUDE_DIRS} ${HAL_INCLUDE_DIRS} ) link_directories( ${TQT_LIBRARY_DIRS} + ${DBUS_1_TQT_LIBRARY_DIRS} ${DBUS_TQT_LIBRARY_DIRS} ) @@ -43,5 +49,5 @@ tde_add_tdeinit_executable( ksmserver AUTOMOC main.cpp server.cpp shutdowndlg.cpp startupdlg.cpp legacy.cpp startup.cpp shutdown.cpp client.cpp KSMServerInterface.skel server.skel timed.ui - LINK dmctl-static tdeui-shared krsync-shared ${HAL_LIBRARIES} ${DBUS_TQT_LIBRARIES} + LINK dmctl-static tdeui-shared krsync-shared ${HAL_LIBRARIES} ${DBUS_1_TQT_LIBRARIES} ${DBUS_TQT_LIBRARIES} ) |