summaryrefslogtreecommitdiff
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-12-14 13:51:08 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2005-12-14 13:51:08 -0500
commitb7fa820118d6989ca4d77dbfcc972c2e903bfe2a (patch)
treea5605c468a458597fff5f17485fad8cd85856e1b /Modules/FindQt.cmake
parent805d365d479a916acf2c5638809fb046fc28dc97 (diff)
downloadcmake-b7fa820118d6989ca4d77dbfcc972c2e903bfe2a.tar.gz
ENH: add documentation support for modules
Diffstat (limited to 'Modules/FindQt.cmake')
-rw-r--r--Modules/FindQt.cmake23
1 files changed, 12 insertions, 11 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index 4ee56f830e..82af7cd9ac 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -1,21 +1,22 @@
-# searches for all installed versions of QT.
+# - Searches for all installed versions of QT.
# This should only be used if your project can work with multiple
# versions of QT. If not, you should just directly use FindQt4 or FindQt3.
-#
-# If multiple versions of QT are found on the machine, then
-# The user must set the option DESIRED_QT_VERSION to the version
-# they want to use. If only one version of qt is found on the machine,
-# then the DESIRED_QT_VERSION is set to that version and the
-# matching FindQt3 or FindQt4 module is included.
-# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
-# is included.
+# If multiple versions of QT are found on the machine, then
+# The user must set the option DESIRED_QT_VERSION to the version
+# they want to use. If only one version of qt is found on the machine,
+# then the DESIRED_QT_VERSION is set to that version and the
+# matching FindQt3 or FindQt4 module is included.
+# Once the user sets DESIRED_QT_VERSION, then the FindQt3 or FindQt4 module
+# is included.
#
-# QT_REQUIRED if this is set to TRUE then if cmake can not find QT4 or QT3
-# an error is raised and a message is sent to the user.
+# QT_REQUIRED if this is set to TRUE then if CMake can not find
+# QT4 or QT3 an error is raised and a message is sent
+# to the user.
# DESIRED_QT_VERSION OPTION is created
# QT4_INSTALLED is set to TRUE if qt4 is found.
# QT3_INSTALLED is set to TRUE if qt3 is found.
+
# look for signs of qt3 installations
FILE(GLOB GLOB_TEMP_VAR /usr/lib/qt-3*/bin/qmake)
IF(GLOB_TEMP_VAR)