diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-26 15:46:22 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-26 15:46:22 (GMT) |
commit | a9c0929d3938e432484cc2c3e44bf79167ed010d (patch) | |
tree | e9b9ebe3403518d16eb3cee89f32801828341e55 /Source/cmMakefile.cxx | |
parent | 47ef50453004e62510f5705185d912950e8fb68f (diff) | |
download | CMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.zip CMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.tar.gz CMake-a9c0929d3938e432484cc2c3e44bf79167ed010d.tar.bz2 |
COMP: Handle both ansi and non-ansi C
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 49bf647..871a81b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -905,7 +905,7 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target, { cmOStringStream e; e << "Attempt to add link target " << lib << " of type: " - << cmTarget::TargetTypeNames[(int)tgt->GetType()] + << cmTarget::TargetTypeNames[static_cast<int>(tgt->GetType())] << "\nto target " << target << ". You can only link to STATIC or SHARED libraries."; // in older versions of cmake linking to modules was allowed |