diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-06-12 00:04:27 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-02-26 12:26:36 +0100 |
commit | ad96f1fd78f26a304e56c37495017d14aa34c9c0 (patch) | |
tree | 7eda6488a7df2ffd0c44b98216fe2b66fc373ff1 /dep | |
parent | 4fdd4079436178f346ba19616b50e515215825ea (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.txt | 3 |
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) |