Hello, I'd like to ask how to export BOOST_ROOT for CMake.

Hi, you can do it by cmake .. -DBOOST_ROOT=xxx or export environment variable. Please check your cmake version and the cmake documentation (https://cmake.org/cmake/help/latest/module/FindBoost.html). I remember cmake has changed the BOOST_ROOT to Boost_ROOT or some other variables starting from certain version.
OK,thanks for your answer!
------------------ 原始邮件 ------------------ 发件人: "limbo018/OpenMPL" @.>; 发送时间: 2023年1月6日(星期五) 上午9:18 @.>; @.@.>; 主题: Re: [limbo018/OpenMPL] Hello, I'd like to ask how to export BOOST_ROOT for CMake. (Issue #14)
Hi, you can do it by cmake .. -DBOOST_ROOT=xxx or export environment variable. Please check your cmake version and the cmake documentation (https://cmake.org/cmake/help/latest/module/FindBoost.html). I remember cmake has changed the BOOST_ROOT to Boost_ROOT or some other variables starting from certain version.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>