summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2014-12-12 17:21:54 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-12 19:38:23 (GMT)
commit2e92570bdaacfd5791c37e0fc302e05f095c3901 (patch)
tree184df9daf37a6f865847026bee49a3d2cbc50859 /Source/cmInstallTargetGenerator.cxx
parenta829f09bdd5cf28c59eeebd39d1652be2bd23283 (diff)
downloadCMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.zip
CMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.tar.gz
CMake-2e92570bdaacfd5791c37e0fc302e05f095c3901.tar.bz2
Fix some Clang -Wstring-conversion warnings
Some false positives, but some flagged faulty asserts where the ! was inside the string instead of outside.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index d689c89..bb346fb 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -95,7 +95,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os,
case cmTarget::INTERFACE_LIBRARY:
// Not reachable. We never create a cmInstallTargetGenerator for
// an INTERFACE_LIBRARY.
- assert(!"INTERFACE_LIBRARY targets have no installable outputs.");
+ assert(0 && "INTERFACE_LIBRARY targets have no installable outputs.");
break;
case cmTarget::OBJECT_LIBRARY:
case cmTarget::UTILITY: