On 05/24/2013 04:20 PM, Brad King wrote:
> The failure "git bisect"s to this commit:
> 
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=236133e7

The problem is in this code:

      ...
        libsToLink += argv[i] + " ";
      ...
      fprintf(fout, "TARGET_LINK_LIBRARIES(%s %s)\n",
              targetName,
              libsToLink.c_str());
      ...

It does not individually re-quote the library names so when the
generated CMakeLists.txt file is parsed it separates on spaces.

-Brad
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to