[Cmake-commits] [cmake-commits] hoffman committed cmListCommand.cxx 1.21 1.22
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed May 7 14:57:32 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv3657
Modified Files:
cmListCommand.cxx
Log Message:
ENH: fix sort to work with CMP0007
Index: cmListCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmListCommand.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** cmListCommand.cxx 23 Apr 2008 13:56:54 -0000 1.21
--- cmListCommand.cxx 7 May 2008 18:57:29 -0000 1.22
***************
*** 545,548 ****
--- 545,554 ----
for ( it = varArgsExpanded.begin(); it != varArgsExpanded.end(); ++ it )
{
+ if(value.size() == 0 &&
+ this->Makefile->GetPolicyStatus(cmPolicies::CMP0007) ==
+ cmPolicies::NEW)
+ {
+ value += ";";
+ }
if (value.size())
{
More information about the Cmake-commits
mailing list