diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-06 19:08:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-06 19:08:15 (GMT) |
commit | e037fbaf7dbc6fdcd2ceb20a7d23c6286f293048 (patch) | |
tree | 5a6f5055b95d590ba78af9375e9a1403af924800 /Modules | |
parent | 12ebc4339a8d1a9dbc072c82f7be891dffab0c1e (diff) | |
download | CMake-e037fbaf7dbc6fdcd2ceb20a7d23c6286f293048.zip CMake-e037fbaf7dbc6fdcd2ceb20a7d23c6286f293048.tar.gz CMake-e037fbaf7dbc6fdcd2ceb20a7d23c6286f293048.tar.bz2 |
ENH: try to fix non-clean dashboards
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt3.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake index 6c24779..41facd4 100644 --- a/Modules/FindQt3.cmake +++ b/Modules/FindQt3.cmake @@ -38,6 +38,12 @@ FIND_PATH(QT_INCLUDE_DIR qt.h /usr/X11R6/include ) +# if qglobal.h is not in the qt_include_dir then set +# QT_INCLUDE_DIR to NOTFOUND +IF(NOT EXISTS ${QT_INCLUDE_DIR}/qglobal.h) + SET(QT_INCLUDE_DIR QT_INCLUDE_DIR-NOTFOUND CACHE PATH "path to qt3 include directory" FORCE) +ENDIF(NOT EXISTS ${QT_INCLUDE_DIR}/qglobal.h) + IF(QT_INCLUDE_DIR) #extract the version string from qglobal.h FILE(READ ${QT_INCLUDE_DIR}/qglobal.h QGLOBAL_H) |