Re: [CMake] Alternative locations for boost in cmake

2019-10-25 Thread Mahmood Naderan via CMake
>you have a "case discrepancy" between: >BOOST_INCLUDE_DIR >and>Boost_LIBRARY_DIRS Yes. Thank you Boost_LIBRARY_DIRandBoost_INCLUDE_DIR Are correct. The cmake is now fine. Regards, Mahmood -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www

Re: [CMake] Alternative locations for boost in cmake

2019-10-25 Thread Mateusz Loskot
On Fri, 25 Oct 2019 at 09:54, Mahmood Naderan wrote: > > Even with the latest 3.15.4, I get the same error > > Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem timer > chrono) (Required is at least version "1.58") You can try `-DBoost_DEBUG=ON that may give more clues what i

Re: [CMake] Alternative locations for boost in cmake

2019-10-25 Thread Eric Noulard
Le ven. 25 oct. 2019 à 09:55, Mahmood Naderan via CMake a écrit : > Even with the latest 3.15.4, I get the same error > > > $ cmake --version > cmake version 3.15.4 > > CMake suite maintained and supported by Kitware (kitware.com/cmake). > $ cmake -DBoost_NO_SYSTEM_PATHS=ON > -DBOOST_INCLUDE_DIR=

Re: [CMake] Alternative locations for boost in cmake

2019-10-25 Thread Mahmood Naderan via CMake
Even with the latest 3.15.4, I get the same error $ cmake --version cmake version 3.15.4 CMake suite maintained and supported by Kitware (kitware.com/cmake). $ cmake -DBoost_NO_SYSTEM_PATHS=ON -DBOOST_INCLUDE_DIR=/storage/users/mnaderan/boost_1_65_1/build/include/ -DBoost_LIBRARY_DIRS=/storage/

Re: [CMake] Alternative locations for boost in cmake

2019-10-24 Thread Mateusz Loskot
On Thu, 24 Oct 2019 at 20:44, Mahmood Naderan wrote: > > 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_VE

Re: [CMake] Alternative locations for boost in cmake

2019-10-24 Thread Mahmood Naderan via CMake
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

Re: [CMake] Alternative locations for boost in cmake

2019-10-24 Thread Mateusz Loskot
On Thu, 24 Oct 2019 at 19:05, Mahmood Naderan via CMake wrote: > > I have read https://cmake.org/cmake/help/v3.0/module/FindBoost.html which > states some variables for boost library. > I want to know where should I set these variables. For example, in the > terminal, I have written > > $ export