[CMake] Alternative locations for boost in cmake
Mahmood Naderan
nt_mahmood at yahoo.com
Thu Oct 24 13:05:19 EDT 2019
Hi,
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 Boost_NO_SYSTEM_PATHS=ON
However, after I run "cmake ..", I see:
-- Boost version: 1.63.0
-- Boost version: 1.63.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- timer
-- chrono
That is system boost and I don't want that.Any idea?
Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191024/e5d1f549/attachment.html>
More information about the CMake
mailing list