Build: Silence CMake warnings about boost version being too new

This commit is contained in:
Shauren
2023-06-12 00:04:27 +02:00
parent 0cb8965de2
commit ade8aa33a1

View File

@@ -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)