<div dir="ltr">I might be wrong but maybe you mixed up BOOST_INCLUDEDIR and Boost_INCLUDE_DIR? (note the additional underscore)<div>From the documentation the first one is read to deduce the second one.</div><div>Their name is unfortunately very close.</div><div><br></div><div>I never tried to use BOOST_INCLUDEDIR directly, I only set a BOOST_ROOT and BOOST_LIBRARYDIR on windows.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 7:27 AM, Edward Diener <span dir="ltr"><<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The code is not mine but I am trying to get it to work. On Windows the code is calling into the FindBoost.cmake package via a find_package call. Before calling find_package the code sets the Boost_INCLUDE_DIR and Boost_LIBRARY_DIR to the respective Boost 'boost' and Boost 'libs' subdirectories of a Boost installation under Windows. This causes a failure because FindBoost looks for the version.h file as Boost_INCLUDE_DIR/boost/version.h. This implies that the Boost_INCLUDE_DIR ios supposed to be the top-level installation directory, but when it is set to that I get errors saying that none of the Boost libraries can be found. It seems as if FindBoost.cmake is not meant to work on Windows, but only on Linux.<br>
<br>
How can I make the call to FindBoost work successfully ?<br>
<br>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" 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" 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" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" 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" 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" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>