<html><head></head><body><div class="ydp34b71309yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">Thank you. I tried this command:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>cmake -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_INCLUDE_DIR=/storage/users/mnaderan/boost_1_65_1/build/include/ -DBoost_LIBRARY_DIRS=/storage/users/mnaderan/boost_1_65_1/build/lib/ -DBoost_ADDITIONAL_VERSIONS=1.65.1 ..</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>The paths are correct as you can see below:</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><div>$ ls /storage/users/mnaderan/boost_1_65_1/build/lib/<br>libboost_atomic.a libboost_math_tr1l.so.1.65.1<br>libboost_atomic.so libboost_math_tr1.so<br>...<br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false"><div>$ ls /storage/users/mnaderan/boost_1_65_1/build/include/boost/<br>accumulators geometry preprocessor.hpp<br>algorithm geometry.hpp process<br>align get_pointer.hpp process.hpp<br>...<br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false">I didn't paste all files though.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">However, the cmake command fails with the following error message</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>-- Could NOT find Boost<br>CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):<br> Imported targets not available for Boost version<br>Call Stack (most recent call first):<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)<br> cmake/FindBoost.cmake:6 (FIND_PACKAGE)<br> CMakeLists.txt:47 (include)<br><br><br>CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):<br> Imported targets not available for Boost version<br>Call Stack (most recent call first):<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)<br> cmake/FindBoost.cmake:6 (FIND_PACKAGE)<br> CMakeLists.txt:47 (include)<br><br><br>CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):<br> Imported targets not available for Boost version<br>Call Stack (most recent call first):<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)<br> /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)<br> cmake/FindBoost.cmake:6 (FIND_PACKAGE)<br> CMakeLists.txt:47 (include)<br><br><br></div><div><br></div></div></div></div><div><br></div><div class="ydp34b71309signature">Regards,<br>Mahmood</div></div>
<div><br></div><div><br></div>
</div><div id="ydpdfedb754yahoo_quoted_2232889517" class="ydpdfedb754yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, October 24, 2019, 9:01:53 PM GMT+3:30, Mateusz Loskot <mateusz@loskot.net> wrote:
</div>
<div><br></div>When you read word `variables` in CMake documentation,<br clear="none"><div><div dir="ltr">it means CMake variables (also known as cache entries).<br clear="none">Otherwise, it would be qualified using word `environment`.<br clear="none"><br clear="none">The CMake variables can be set via command line option -D [1]<br clear="none"><br clear="none">[1] <a shape="rect" href="https://cmake.org/cmake/help/latest/manual/cmake.1.html" rel="nofollow" target="_blank">https://cmake.org/cmake/help/latest/manual/cmake.1.html</a><br clear="none"><br clear="none">Best regards,<br clear="none">-- <br clear="none">Mateusz Loskot, <a shape="rect" href="http://mateusz.loskot.net" rel="nofollow" target="_blank">http://mateusz.loskot.net</a><div class="ydpdfedb754yqt0958193344" id="ydpdfedb754yqtfd17068"><br clear="none">-- <br clear="none"><br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Please keep messages on-topic and check the CMake FAQ at: <a shape="rect" href="http://www.cmake.org/Wiki/CMake_FAQ" rel="nofollow" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br clear="none"><br clear="none">Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br clear="none"><br clear="none">CMake Support: <a shape="rect" href="http://cmake.org/cmake/help/support.html" rel="nofollow" target="_blank">http://cmake.org/cmake/help/support.html</a><br clear="none">CMake Consulting: <a shape="rect" href="http://cmake.org/cmake/help/consulting.html" rel="nofollow" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br clear="none">CMake Training Courses: <a shape="rect" href="http://cmake.org/cmake/help/training.html" rel="nofollow" target="_blank">http://cmake.org/cmake/help/training.html</a><br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="https://cmake.org/mailman/listinfo/cmake" rel="nofollow" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br clear="none"></div></div></div>
</div>
</div></body></html>