diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 20003555877..27067fd9f8a 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -297,11 +297,11 @@ endif() find_package(pugixml REQUIRED) # Note: When updating Boost version, also update DOLFINXConfig.cmake.in -if(DEFINED ENV{BOOST_ROOT} OR DEFINED BOOST_ROOT) - set(Boost_NO_SYSTEM_PATHS on) -endif() +#if(DEFINED ENV{BOOST_ROOT} OR DEFINED BOOST_ROOT) +# set(Boost_NO_SYSTEM_PATHS on) +#endif() -set(Boost_USE_MULTITHREADED $ENV{BOOST_USE_MULTITHREADED}) +#set(Boost_USE_MULTITHREADED $ENV{BOOST_USE_MULTITHREADED}) set(Boost_VERBOSE TRUE) find_package(Boost 1.70 REQUIRED) set_package_properties(