<div dir="ltr">I am at my wit's end after 3 days struggling with this problem.<div><br></div><div>I export a package with several targets. Those targets are in subdirectories (not sure if that matters). The exported config uses a namespace. In the generated file xyz-config.cmake, I see the following:</div><div><br></div><div># Create imported target xyz::ABC<br>add_library(xyz::ABC SHARED IMPORTED)<br><br>set_target_properties(xyz::ABC  PROPERTIES<br>  INTERFACE_INCLUDE_DIRECTORIES "C:/Users/myself/source/repos/xyz"<br>  INTERFACE_LINK_LIBRARIES "xyz::Strings;xyz::Utility"<br>)<br></div><div><br></div><div>And that all looks fine. Now, in a project that depends on xyz::ABC I use find_package (which seems to work fine) and target_link_libraries(libTarget xyz::ABC other::Something++).</div><div><br></div><div>However, the build process never emits the -I include statement for xyz::ABC, though it does for other::Something++. This is on MSVC17 btw.</div><div><br></div><div>Please help, I have tried everything I can think of.</div></div>