Build: Silence CMake warnings about boost version being too new

This commit is contained in:
Shauren authored and Ovahlord committed 2023-06-12 14:35:24 +02:00
1 parent ebee887d61
commit 222a3f2203
1 file changed
+2 -1
+2 -1
View File
@@ -9,7 +9,6 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
if(WIN32) if(WIN32)
set(BOOST_DEBUG ON)
if(DEFINED ENV{BOOST_ROOT}) if(DEFINED ENV{BOOST_ROOT})
set(BOOST_ROOT $ENV{BOOST_ROOT}) set(BOOST_ROOT $ENV{BOOST_ROOT})
list(APPEND BOOST_LIBRARYDIR list(APPEND BOOST_LIBRARYDIR
@@ -23,6 +22,8 @@ if(WIN32)
set(Boost_USE_STATIC_RUNTIME OFF) set(Boost_USE_STATIC_RUNTIME OFF)
endif() endif()
set(Boost_NO_WARN_NEW_VERSIONS ON)
include (CheckCXXSourceCompiles) include (CheckCXXSourceCompiles)
check_cxx_source_compiles(" check_cxx_source_compiles("