Filipe Sousa wrote:
pos = lib.find_last_not_of(" \t\r\n");
if(pos != lib.npos)
{
lib = lib.substr(0, pos);
//** this code always eats the fist char **
}
Actually it always eats the last character but thanks for tracking it
down. We've fixed it. The fix also revealed that the result of this
whitespace stripping was never even used, otherwise the longer library
names that survived the bug would have been wrong and not linked.
That's been fixed too.
Thanks,
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake