<div dir="ltr">Next version of CMake (3.13) will supports properties LINK_OPTIONS as well as INTERFACE_LINK_OPTIONS.</div><br><div class="gmail_quote"><div dir="ltr">Le mer. 4 juil. 2018 à 16:02, Francis Giraldeau <<a href="mailto:francis.giraldeau@gmail.com">francis.giraldeau@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>> However, it seems no property exists to actually specify the library dir</div><div>> of imported target, nor the linker flags to pass when using the</div><div>> imported target.</div><div>> </div><div>> What would be the best way to specify the library dir for an imported</div><div>> library?</div><div><br></div><div>My workarround at the moment is to add a global link_directories(). It is not clean, as it lacks the transitivity for library users, but at least it works.</div><div><br></div><div>Cheers,</div><div><br></div><div>Francis</div></div>-- <br><div dir="ltr" class="m_-8718375328806927863gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Francis Giraldeau</div></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>