From ade8aa33a1b5b83c7087fd0a29789c6ec750d9ac Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 12 Jun 2023 00:04:27 +0200 Subject: Build: Silence CMake warnings about boost version being too new --- dep/boost/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dep') diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt index 32bde0280f4..214e796ffa6 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}) endif() @@ -19,6 +18,8 @@ if(WIN32) set(Boost_USE_STATIC_RUNTIME OFF) endif() +set(Boost_NO_WARN_NEW_VERSIONS ON) + include (CheckCXXSourceCompiles) if (WIN32) -- cgit v1.2.3