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>2023-06-12 00:04:27 +0200
commitade8aa33a1b5b83c7087fd0a29789c6ec750d9ac (patch)
treef58db7196613a475dda24cacacf59adfddeb9d8a /dep
parent0cb8965de22c5da3887b8f8b5c08b9f5034b3cc6 (diff)
Build: Silence CMake warnings about boost version being too new
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 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)