On 04/25/2013 03:34 AM, Stephen Kelly wrote: > I haven't had time to investigate fully, but this patch should 'fix' the > problem: [snip] > I'll investigate later to see if it's the right fix and why.
Great! I've turned that patch into this commit: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de9d4a63 See commit message for an explanation that makes sense to me. Since these generator expressions are constructed and evaluated internally to CMake and never exposed it should be easy to adjust how this works in the future. Therefore I'm going to take this as the fix for 2.8.11-rc4 if it is clean on the test dashboard tonight. When you have time to investigate in more detail, please extend this topic with a test case covering target_link_libraries(B debug A) where A is a target instead of an external library name. Amazingly/apparently we do not have this in the test suite yet. Thanks, -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
