summaryrefslogtreecommitdiff
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-30 17:29:50 +0100
committerStephen Kelly <steveire@gmail.com>2014-02-05 16:05:16 +0100
commit0f5dfd10ba430fc9377654ca8cf3f636901aa223 (patch)
tree1a2ad0f31561a36b3ff73933c2a01dd3fc0fc30e /Modules/FindQt4.cmake
parentfed3f88f8c5bf2ec5de0b8e406ef5c1e39781833 (diff)
downloadcmake-0f5dfd10ba430fc9377654ca8cf3f636901aa223.tar.gz
Help: Specify that qtmain.lib is only used for WIN32 executables.
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r--Modules/FindQt4.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index 9ea77d4b5e..e188c62d2e 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -23,7 +23,8 @@
# .. note::
#
# When using :prop_tgt:`IMPORTED` targets, the qtmain.lib static library is
-# automatically linked on Windows. To disable that globally, set the
+# automatically linked on Windows for :variable:`WIN32 <WIN32_EXECUTABLE>`
+# executables. To disable that globally, set the
# ``QT4_NO_LINK_QTMAIN`` variable before finding Qt4. To disable that
# for a particular executable, set the ``QT4_NO_LINK_QTMAIN`` target
# property to ``TRUE`` on the executable.