summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-03 22:42:46 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-03 22:42:46 +0000
commitc4dd3197ecbc0f3fd3c89d130ef4ef207a5f7afc (patch)
tree580bd88aa18ba4c7c7d98330696bd1965ecd5134 /CMakeLists.txt
parent4304e8d9dab8e20513e38e71b0debdf6937b630c (diff)
downloadkpowersave-c4dd3197ecbc0f3fd3c89d130ef4ef207a5f7afc.tar.gz
kpowersave-c4dd3197ecbc0f3fd3c89d130ef4ef207a5f7afc.zip
[kpowersave] updated cmake
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1230316 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7385430..7e743ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,10 +44,9 @@ include( ConfigureChecks.cmake )
add_definitions(
-DHAVE_CONFIG_H
- ${TQT_CFLAGS_OTHER}
)
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )