Skip to content

Commit aa4e3a9

Browse files
Remove cmake conditional that could never be true
Boost >= 1.67 is required, the check was for boost versions <= 1.66
1 parent 381a1b9 commit aa4e3a9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Builds/CMake/CMakeFuncs.cmake

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -362,13 +362,6 @@ macro(use_boost)
362362
message(FATAL_ERROR "Boost version 1.67 or greater is required for boost::beast. Found version: ${Boost_VERSION}")
363363
endif()
364364

365-
if(MSVC14)
366-
# VS2017 with boost <= 1.66.0 requires a flag to suppress warnings
367-
if(NOT Boost_VERSION VERSION_GREATER 106600)
368-
add_definitions(-DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE)
369-
endif()
370-
endif()
371-
372365
if (is_xcode)
373366
include_directories(BEFORE ${Boost_INCLUDE_DIRS})
374367
append_flags(CMAKE_CXX_FLAGS --system-header-prefix="boost/")

0 commit comments

Comments
 (0)