Thank you. I tried this command: 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 ..
The paths are correct as you can see below: $ ls /storage/users/mnaderan/boost_1_65_1/build/lib/ libboost_atomic.a libboost_math_tr1l.so.1.65.1 libboost_atomic.so libboost_math_tr1.so ... $ ls /storage/users/mnaderan/boost_1_65_1/build/include/boost/ accumulators geometry preprocessor.hpp algorithm geometry.hpp process align get_pointer.hpp process.hpp ... I didn't paste all files though. However, the cmake command fails with the following error message -- Could NOT find Boost CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message): Imported targets not available for Boost version Call Stack (most recent call first): /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES) /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES) cmake/FindBoost.cmake:6 (FIND_PACKAGE) CMakeLists.txt:47 (include) CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message): Imported targets not available for Boost version Call Stack (most recent call first): /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES) /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES) cmake/FindBoost.cmake:6 (FIND_PACKAGE) CMakeLists.txt:47 (include) CMake Warning at /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:769 (message): Imported targets not available for Boost version Call Stack (most recent call first): /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES) /storage/users/mnaderan/tools/cmake-3.9.0/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES) cmake/FindBoost.cmake:6 (FIND_PACKAGE) CMakeLists.txt:47 (include) Regards, Mahmood On Thursday, October 24, 2019, 9:01:53 PM GMT+3:30, Mateusz Loskot <mate...@loskot.net> wrote: When you read word `variables` in CMake documentation, it means CMake variables (also known as cache entries). Otherwise, it would be qualified using word `environment`. The CMake variables can be set via command line option -D [1] [1] https://cmake.org/cmake/help/latest/manual/cmake.1.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake