From aa4e3a98f74c08f870f5136eecc4fa89d6d09186 Mon Sep 17 00:00:00 2001 From: MarkusTeufelberger Date: Tue, 3 Jul 2018 02:09:33 +0200 Subject: [PATCH] Remove cmake conditional that could never be true Boost >= 1.67 is required, the check was for boost versions <= 1.66 --- Builds/CMake/CMakeFuncs.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Builds/CMake/CMakeFuncs.cmake b/Builds/CMake/CMakeFuncs.cmake index be8c303de..12634c869 100644 --- a/Builds/CMake/CMakeFuncs.cmake +++ b/Builds/CMake/CMakeFuncs.cmake @@ -362,13 +362,6 @@ macro(use_boost) message(FATAL_ERROR "Boost version 1.67 or greater is required for boost::beast. Found version: ${Boost_VERSION}") endif() - if(MSVC14) - # VS2017 with boost <= 1.66.0 requires a flag to suppress warnings - if(NOT Boost_VERSION VERSION_GREATER 106600) - add_definitions(-DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE) - endif() - endif() - if (is_xcode) include_directories(BEFORE ${Boost_INCLUDE_DIRS}) append_flags(CMAKE_CXX_FLAGS --system-header-prefix="boost/")