mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Remove cmake conditional that could never be true
Boost >= 1.67 is required, the check was for boost versions <= 1.66
This commit is contained in:
committed by
GitHub
parent
381a1b948b
commit
aa4e3a98f7
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user