Skip to content

Commit 9412a2e

Browse files
committed
[FIXUP] cmake: Cleanup AddBoostIfNeeded module
1 parent 15bcb8e commit 9412a2e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmake/module/AddBoostIfNeeded.cmake

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ function(add_boost_if_needed)
1717
directory and other added INTERFACE properties.
1818
]=]
1919

20-
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND BREW_COMMAND)
21-
execute_process(
22-
COMMAND ${BREW_COMMAND} --prefix boost
23-
OUTPUT_VARIABLE BOOST_ROOT
24-
ERROR_QUIET
25-
OUTPUT_STRIP_TRAILING_WHITESPACE
26-
)
27-
endif()
28-
2920
set(Boost_NO_BOOST_CMAKE ON)
3021
find_package(Boost 1.64.0 REQUIRED)
3122
set_target_properties(Boost::boost PROPERTIES IMPORTED_GLOBAL TRUE)

0 commit comments

Comments
 (0)