diff --git a/cmake/module/AddBoostIfNeeded.cmake b/cmake/module/AddBoostIfNeeded.cmake index d55f90a017364..a31ed10a9f58b 100644 --- a/cmake/module/AddBoostIfNeeded.cmake +++ b/cmake/module/AddBoostIfNeeded.cmake @@ -17,15 +17,6 @@ function(add_boost_if_needed) directory and other added INTERFACE properties. ]=] - if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND BREW_COMMAND) - execute_process( - COMMAND ${BREW_COMMAND} --prefix boost - OUTPUT_VARIABLE BOOST_ROOT - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - endif() - set(Boost_NO_BOOST_CMAKE ON) find_package(Boost 1.64.0 REQUIRED) set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE)