From 222a3f22038725eb3b52325e9cc0409f0ebcd92e Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 12 Jun 2023 00:04:27 +0200 Subject: [PATCH] Build: Silence CMake warnings about boost version being too new --- dep/boost/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index ddf2a75a1a..b8f4dfffd3 100644 --- a/dep/boost/CMakeLists.txt +++ b/dep/boost/CMakeLists.txt @@ -9,7 +9,6 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. if(WIN32) - set(BOOST_DEBUG ON) if(DEFINED ENV{BOOST_ROOT}) set(BOOST_ROOT $ENV{BOOST_ROOT}) list(APPEND BOOST_LIBRARYDIR @@ -23,6 +22,8 @@ if(WIN32) set(Boost_USE_STATIC_RUNTIME OFF) endif() +set(Boost_NO_WARN_NEW_VERSIONS ON) + include (CheckCXXSourceCompiles) check_cxx_source_compiles("