summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 22:30:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-31 17:52:08 +0900
commitf0bf8c6892933b0936d9adb828c500d14a8f10f6 (patch)
tree1275c1cbd86b028ebf58342caa16c3a529e480f2
parent6b1f9116760b2a693428cc93a0304dd3d7d2856a (diff)
downloadtdepim-f0bf8c6892933b0936d9adb828c500d14a8f10f6.tar.gz
tdepim-f0bf8c6892933b0936d9adb828c500d14a8f10f6.zip
Don't explicetly include tqt.h and don't look for libtqui anymore.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--ConfigureChecks.cmake2
-rw-r--r--indexlib/CMakeLists.txt1
-rw-r--r--libtdepim/CMakeLists.txt4
-rw-r--r--libtdepim/ConfigureChecks.cmake12
4 files changed, 1 insertions, 18 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 67500f427..21423943d 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -35,7 +35,6 @@ if( BUILD_INDEXLIB OR BUILD_KMAIL )
# check for stl coping with namespace std
tde_save( CMAKE_CXX_FLAGS )
- string( REGEX REPLACE "-include tqt.h" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
check_cxx_source_compiles("
#include <iterator>
struct s : public std::iterator<std::forward_iterator_tag, int> {};
@@ -149,7 +148,6 @@ if( (BUILD_LIBTDENETWORK OR BUILD_CERTMANAGER OR BUILD_KMAIL OR BUILD_KADDRESSBO
tde_save( CMAKE_CXX_FLAGS )
tde_save( CMAKE_REQUIRED_INCLUDES )
tde_save( CMAKE_REQUIRED_LIBRARIES )
- string( REGEX REPLACE "-include tqt.h" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LARGEFILES_DEFINITIONS}")
set( CMAKE_REQUIRED_INCLUDES "${GPGME_INCLUDE_DIRS}")
set( CMAKE_REQUIRED_LIBRARIES "${GPGME_LIBRARIES}")
diff --git a/indexlib/CMakeLists.txt b/indexlib/CMakeLists.txt
index f89e4f1a4..6f5a42e56 100644
--- a/indexlib/CMakeLists.txt
+++ b/indexlib/CMakeLists.txt
@@ -13,7 +13,6 @@ project( indexlib )
include( ConfigureChecks.cmake )
-string( REPLACE "-include tqt.h" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include compat.h ${USE_EXCEPTIONS}" )
include_directories(
diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt
index f96611f35..c604626cb 100644
--- a/libtdepim/CMakeLists.txt
+++ b/libtdepim/CMakeLists.txt
@@ -11,8 +11,6 @@
project( libtdepim )
-include( ConfigureChecks.cmake )
-
tde_import( libkmime )
tde_import( libkcal )
tde_import( ktnef )
@@ -96,7 +94,7 @@ tde_add_library( tdepim SHARED AUTOMOC
csshelper.cpp distributionlist.cpp kpimurlrequesterdlg.cpp
sendsmsdialog.cpp kmailcompletion.cpp
VERSION 1.0.0
- LINK kcal-shared tdeimproxy-shared tdeparts-shared ${TQTQUI_LIBRARIES}
+ LINK kcal-shared tdeimproxy-shared tdeparts-shared
DESTINATION ${LIB_INSTALL_DIR}
)
diff --git a/libtdepim/ConfigureChecks.cmake b/libtdepim/ConfigureChecks.cmake
deleted file mode 100644
index b91f0f8f6..000000000
--- a/libtdepim/ConfigureChecks.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
-
-find_package( TQtQUI )