summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-20 13:53:41 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-23 19:15:41 (GMT)
commite3b5eb6b23e5d2b6034e1c13716abb73ab6b3397 (patch)
tree835263e83ceabd38952b943b25d83a6efb0cf78d /Source/cmPolicies.h
parent6c8d8afe344aa2e0ba0c5c881d397a28a559dcbd (diff)
downloadCMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.zip
CMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.tar.gz
CMake-e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397.tar.bz2
Automatically link to the qtmain library when linking to QtCore.
When using QAxServer, ensure that the qtmain library is excluded by reporting an error at CMake time if it is not.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index d7d945c..c11af07 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -69,6 +69,7 @@ public:
/// POSITION_INDEPENDENT_CODE property and *_COMPILE_OPTIONS_PI{E,C}
/// instead.
CMP0019, ///< No variable re-expansion in include and link info
+ CMP0020, ///< Automatically link Qt executables to qtmain target
/** \brief Always the last entry.
*