<div dir="ltr">Why does:<br clear="all"><div><br>Interface Libraries<br><a href="https://cmake.org/cmake/help/latest/command/add_library.html?highlight=add_library#id3">https://cmake.org/cmake/help/latest/command/add_library.html?highlight=add_library#id3</a><br><br></div><div>allow include directories via<br><br>target_include_directories(INTERFACE)<br><br></div><div>but not link_directories<br><br><a href="https://cmake.org/cmake/help/latest/prop_dir/LINK_DIRECTORIES.html?highlight=link_directories">https://cmake.org/cmake/help/latest/prop_dir/LINK_DIRECTORIES.html?highlight=link_directories</a><br><br></div><div>which if we look at property scope:<br><br><a href="https://cmake.org/cmake/help/latest/manual/cmake-properties.7.html">https://cmake.org/cmake/help/latest/manual/cmake-properties.7.html</a><br><br><div>Why is include_directories at target resolution while link_directories is at directory resolution.<br></div><br></div><div>link_directories is a property on a directory which if I recalled correctly I complained about many many moons ago (circa 2009) when I first realized this.  I did not understand this logic then and don't understand this logic now.  Someone what to give me the recipe for the CMake cool-aid so I can mix that up, drink it down, and re-read the doc and finally come to terms with this.  Or could the powers that be redesign CMake to make sense.  At the time I wrapped this nonsense in a macro and pretended it did not happen ... now I am rewriting my project for "new" CMake and still don't get this.<br><br></div><br><div><br></div></div>