> --- > Source/cmLocalGenerator.cxx | 23 ++++++++++++++++++++--- > 1 files changed, 20 insertions(+), 3 deletions(-) > > diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx > index aeda164..4044876 100644 > --- a/Source/cmLocalGenerator.cxx > +++ b/Source/cmLocalGenerator.cxx > @@ -1463,6 +1463,17 @@ void cmLocalGenerator::GetTargetFlags(std::string& > linkLibs, > linkFlags += targetLinkFlags; > linkFlags += " "; > } > + if(buildType.size())
This could also be "if(!buildType.empty())", but it's hard to decide which one to use. This file alone uses a great mixture of both variants. Eike -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
