<p dir="ltr">No you're not meant to specify paths yourself, you should just use find_library. <br>
Check how modules such as FindTIFF.cmake are implemented. </p>
<br><div class="gmail_quote"><div dir="ltr">Le mar. 22 août 2017 à 19:05, Brian Davis <<a href="mailto:bitminer@gmail.com">bitminer@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><div><div><div><div><div><div><div><br></div><div>and provide future<br></div><div><br></div>​target_link_directories(<br></div>   targ<br></div>   INTERFACE<br></div>   debug ${TOP}/build/x64/Debug/Libraries/<br></div>   optimized ${TOP}/build/x64/Release/Libraries/<br>)<br><br></div>with debug / optimized / general capability<br><br></div>then targets could support multiple debug / release dirs even if CMake (CMAKE_INSTALL_PREFIX) can't (ie no CMAKE_INSTALL_PREFIX_<span><CONFIG></span> capability)<br><br></div>If anyone is looking at those dirs and wondering *why* (as I often do)... I need CMake in mixed mode with CMake generated projs and imported existing vcxproj files.<br><div><div><span></span><br></div><div>if provided I could then targ link dirs, include dirs, and interface the libs from a position of relative sanity or at least the white jacket with wrap around arms tied in the back would be a little looser to the fit.<br></div><div><br><br><br></div></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="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a></blockquote></div>