diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-15 23:26:02 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-15 23:26:02 (GMT) |
commit | 24d9b7d7452bfd9b3d7cea670a3a5a2e9f5b2f16 (patch) | |
tree | af0ba04acf76392280e327ad4c07569a5ec94c7f /Source/cmAddLibraryCommand.cxx | |
parent | 58b7fe65453f1d4b25537950de2277af2951fd85 (diff) | |
download | CMake-24d9b7d7452bfd9b3d7cea670a3a5a2e9f5b2f16.zip CMake-24d9b7d7452bfd9b3d7cea670a3a5a2e9f5b2f16.tar.gz CMake-24d9b7d7452bfd9b3d7cea670a3a5a2e9f5b2f16.tar.bz2 |
Remove trailing whitespace
Alex
Diffstat (limited to 'Source/cmAddLibraryCommand.cxx')
-rw-r--r-- | Source/cmAddLibraryCommand.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx index 2e0604e..a581ea1 100644 --- a/Source/cmAddLibraryCommand.cxx +++ b/Source/cmAddLibraryCommand.cxx @@ -92,11 +92,11 @@ bool cmAddLibraryCommand } } - /* ideally we should check whether for the linker language of the target + /* ideally we should check whether for the linker language of the target CMAKE_${LANG}_CREATE_SHARED_LIBRARY is defined and if not default to - STATIC. But at this point we know only the name of the target, but not + STATIC. But at this point we know only the name of the target, but not yet its linker language. */ - if ((type != cmTarget::STATIC_LIBRARY) && + if ((type != cmTarget::STATIC_LIBRARY) && (this->Makefile->GetCMakeInstance()->GetPropertyAsBool( "TARGET_SUPPORTS_SHARED_LIBS") == false)) { @@ -172,9 +172,9 @@ bool cmAddLibraryCommand } std::vector<std::string> srclists; - while (s != args.end()) + while (s != args.end()) { - srclists.push_back(*s); + srclists.push_back(*s); ++s; } @@ -194,7 +194,7 @@ bool cmAddLibraryCommand delete automoc; automoc = 0; } - + return true; } |