[CMake] JOIN generator expression not working

Daniel Dilts diltsman at gmail.com
Thu Apr 16 19:08:45 EDT 2015


I have this generator expression:

-I$<JOIN:$<TARGET_PROPERTY:${LibraryName},INCLUDE_DIRECTORIES>, -I>

I get this output in my custom command:

-I$<JOIN:$ -I>

This is almost exactly the same as the example in the documentation (other
than adding ${LibraryName}).  Why doesn't this work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150416/c8ccd9b1/attachment.html>


More information about the CMake mailing list