diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-09-12 15:12:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-09-13 15:34:08 (GMT) |
commit | 271bf10263893e0ec2e0c9d20d2c0220262998ec (patch) | |
tree | 9fbe06677e3485931d25d2b0675ed61412566391 | |
parent | 81d2793e920a90a627ca47bfd68f24dacf27ca72 (diff) | |
download | CMake-271bf10263893e0ec2e0c9d20d2c0220262998ec.zip CMake-271bf10263893e0ec2e0c9d20d2c0220262998ec.tar.gz CMake-271bf10263893e0ec2e0c9d20d2c0220262998ec.tar.bz2 |
Fix CMP0022 warning when no old-style property is set
The string could be null at this point.
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index ce0d0f2..ac655da 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -6449,7 +6449,7 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface, << newExplicitLibraries << "\n" << linkIfaceProp << ":\n " - << explicitLibraries << "\n"; + << (explicitLibraries ? explicitLibraries : "(empty)") << "\n"; this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str()); } // Fall through |