From 100b3aa738a8e124bd4b3280249073bc1d2fabfa Mon Sep 17 00:00:00 2001 From: Simon Cornaz Date: Mon, 2 Aug 2021 11:24:41 +0200 Subject: [PATCH] remove experimental deprecation with c++17 in msvc build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca4385b..870921a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ option(BUILD_COVERAGE "Build cpp_dependencies for coverage" OFF) if (WIN32) set(DEFAULT_BOOST OFF) + add_compile_definitions(_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING) else() set(DEFAULT_BOOST ON) endif()