Adjust kpilot to have a slightly better chance of building under CMake

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1230976 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent cb7eddb914
commit 4f5c5fdc9f

@ -30,7 +30,15 @@ directory and run 'cmake path_to_kpilot [options]' there."
)
endif(insource)
find_package(Qt3 REQUIRED) # find and setup Qt3 for this project
find_package(Qt3) # find and setup Qt3 for this project
if (NOT QT_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(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
find_package(KDE3 REQUIRED) # find and setup KDE3 for this project
find_package(Pilotlink REQUIRED)
find_package(Mal) # see if mal is available, but it's not required

Loading…
Cancel
Save