[CMake] Difference between PRIVATE and PUBLIC with target_link_libraries

Patrick Boettcher patrick.boettcher at posteo.de
Thu May 12 10:10:58 EDT 2016


On Thu, 12 May 2016 09:04:10 -0500
iosif neitzke <iosif.neitzke+cmake at gmail.com> wrote:

> target_include_directories(lib1 INTERFACE /tmp) means /tmp is
> propagated with lib1, but not used to build lib1.

I know. Could you elaborate how this is related with lib3 PRIVATEly linking to
lib1?

regards,
--
Patrick.


More information about the CMake mailing list