diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-11-20 13:53:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-23 19:15:41 (GMT) |
commit | e3b5eb6b23e5d2b6034e1c13716abb73ab6b3397 (patch) | |
tree | 835263e83ceabd38952b943b25d83a6efb0cf78d /Source/cmTarget.cxx | |
parent | 6c8d8afe344aa2e0ba0c5c881d397a28a559dcbd (diff) | |
download | CMake-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/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 45862fb..d1bd4a6 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -145,6 +145,7 @@ cmTarget::cmTarget() this->PolicyStatusCMP0003 = cmPolicies::WARN; this->PolicyStatusCMP0004 = cmPolicies::WARN; this->PolicyStatusCMP0008 = cmPolicies::WARN; + this->PolicyStatusCMP0020 = cmPolicies::WARN; this->LinkLibrariesAnalyzed = false; this->HaveInstallRule = false; this->DLLPlatform = false; @@ -1499,6 +1500,8 @@ void cmTarget::SetMakefile(cmMakefile* mf) this->Makefile->GetPolicyStatus(cmPolicies::CMP0004); this->PolicyStatusCMP0008 = this->Makefile->GetPolicyStatus(cmPolicies::CMP0008); + this->PolicyStatusCMP0020 = + this->Makefile->GetPolicyStatus(cmPolicies::CMP0020); } //---------------------------------------------------------------------------- |