aboutsummaryrefslogtreecommitdiff
path: root/dep
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-06-12 00:04:27 +0200
committerShauren <shauren.trinity@gmail.com>2024-02-26 12:26:36 +0100
commitad96f1fd78f26a304e56c37495017d14aa34c9c0 (patch)
tree7eda6488a7df2ffd0c44b98216fe2b66fc373ff1 /dep
parent4fdd4079436178f346ba19616b50e515215825ea (diff)
Build: Silence CMake warnings about boost version being too new
(cherry picked from commit ade8aa33a1b5b83c7087fd0a29789c6ec750d9ac)
Diffstat (limited to 'dep')
-rw-r--r--dep/boost/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/dep/boost/CMakeLists.txt b/dep/boost/CMakeLists.txt
index d7606138c35..d3149e956be 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)