[CMake] target_link_libraries not populating INCLUDE_DIRECTORIES?

Mateusz Loskot mateusz at loskot.net
Fri Dec 21 03:50:01 EST 2018


On Fri, 21 Dec 2018, 09:30 Ciccio Pasticcio <dodungocorporation at gmail.com
wrote:
> TARGET_INCLUDE_DIRECTORIES(PRIVATE private/ PUBLIC inc/)
> ...
> The manpage of TARGET_LINK_LIBRARIES says:
> PRIVATE and PUBLIC items will populate the INCLUDE_DIRECTORIES
<https://cmake.org/cmake/help/v3.13/prop_tgt/INCLUDE_DIRECTORIES.html#prop_tgt:INCLUDE_DIRECTORIES>
property
of <target>.

Yea, but are missing the actual <target> from your call.

Mateusz Loskot, mateusz at loskot.net
(Sent from mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20181221/ae234540/attachment.html>


More information about the CMake mailing list