summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-09-27 16:04:27 +0900
committerMichele Calgaro <[email protected]>2018-09-27 16:04:27 +0900
commit961fec6d3015f67aff5f55f5ca207bcbcef11068 (patch)
tree960e8b589f0ffb938b5901a3821f105c81e87919 /CMakeLists.txt
parent54af1c400febd773faa2cff61ed7c2847e7f5f9d (diff)
downloadkpilot-961fec6d3015f67aff5f55f5ca207bcbcef11068.tar.gz
kpilot-961fec6d3015f67aff5f55f5ca207bcbcef11068.zip
qt -> tqt conversion:
QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2eb5ca8..600430b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,10 +32,10 @@ endif(insource)
find_package(Qt3) # find and setup Qt3 for this project
-if (NOT QT_INCLUDE_DIR)
+if (NOT TQT_INCLUDE_DIR)
MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4")
- SET(QT_INCLUDE_DIR "/usr/include/qt4" CACHE PATH "" FORCE)
-endif (NOT QT_INCLUDE_DIR)
+ SET(TQT_INCLUDE_DIR "/usr/include/qt4" CACHE PATH "" FORCE)
+endif (NOT TQT_INCLUDE_DIR)
SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
@@ -74,7 +74,7 @@ set(KDE3_PLUGIN_INSTALL_DIR ${KDE3_LIB_INSTALL_DIR}/trinity)
link_directories(${KDE3_LIB_DIR})
# tell cmake where to search for Qt/KDE headers:
-include_directories(${PILOTLINK_INCLUDE_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR})
+include_directories(${PILOTLINK_INCLUDE_DIR} ${KDE3_INCLUDE_DIR} ${TQT_INCLUDE_DIR})
# include custom macros
INCLUDE(${CMAKE_SOURCE_DIR}/cmake/modules/KPilotCustom.cmake)