From 0ba4e3c0a468d0ce3d64c4062a39e8a792b29b93 Mon Sep 17 00:00:00 2001 From: samelian Date: Tue, 11 Jan 2011 16:43:23 +0000 Subject: [kdelibs] move "-include tqt.h" directive to CMAKE_CXX_FLAGS; move TQT_CFLAGS_OTHER definitions to main CMakeLists.txt; remove useless defintions git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1213800 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcop/CMakeLists.txt | 7 ------- dcop/KDE-ICE/CMakeLists.txt | 3 +++ dcop/client/CMakeLists.txt | 4 ---- dcop/dcopidl/CMakeLists.txt | 5 ----- dcop/dcopidl2cpp/CMakeLists.txt | 4 ---- 5 files changed, 3 insertions(+), 20 deletions(-) (limited to 'dcop') diff --git a/dcop/CMakeLists.txt b/dcop/CMakeLists.txt index 56c3d3911..8854ba88a 100644 --- a/dcop/CMakeLists.txt +++ b/dcop/CMakeLists.txt @@ -15,13 +15,6 @@ add_subdirectory( dcopidlng ) add_subdirectory( dcopidl2cpp ) add_subdirectory( client ) - -include( KDE3Macros ) - -add_definitions( - ${TQT_CFLAGS_OTHER} -) - include_directories( ${TQT_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} diff --git a/dcop/KDE-ICE/CMakeLists.txt b/dcop/KDE-ICE/CMakeLists.txt index 17e2dab86..6963d5017 100644 --- a/dcop/KDE-ICE/CMakeLists.txt +++ b/dcop/KDE-ICE/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# +set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include tqt.h" ) + add_definitions( -DICE_t -DTRANS_SERVER @@ -20,6 +22,7 @@ add_definitions( include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/dcop + ${TQT_INCLUDE_DIRS} ) diff --git a/dcop/client/CMakeLists.txt b/dcop/client/CMakeLists.txt index 3ed31360c..760746f9a 100644 --- a/dcop/client/CMakeLists.txt +++ b/dcop/client/CMakeLists.txt @@ -9,10 +9,6 @@ # ################################################# -add_definitions( - ${TQT_CFLAGS_OTHER} -) - include_directories( ${TQT_INCLUDE_DIRS} ${CMAKE_BINARY_DIR} diff --git a/dcop/dcopidl/CMakeLists.txt b/dcop/dcopidl/CMakeLists.txt index ec2752bc0..f3a8c5049 100644 --- a/dcop/dcopidl/CMakeLists.txt +++ b/dcop/dcopidl/CMakeLists.txt @@ -9,11 +9,6 @@ # ################################################# -add_definitions( - ${TQT_CFLAGS_OTHER} - -include tqt.h -) - include_directories( ${TQT_INCLUDE_DIRS} ${CMAKE_BINARY_DIR} diff --git a/dcop/dcopidl2cpp/CMakeLists.txt b/dcop/dcopidl2cpp/CMakeLists.txt index 4b0f7d97c..6b2eea5f8 100644 --- a/dcop/dcopidl2cpp/CMakeLists.txt +++ b/dcop/dcopidl2cpp/CMakeLists.txt @@ -9,10 +9,6 @@ # ################################################# -add_definitions( - ${TQT_CFLAGS_OTHER} -) - include_directories( ${TQT_INCLUDE_DIRS} ) -- cgit v1.2.1