diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index a3e567a541..6b65fc3a7d 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -13,6 +13,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows") add_definitions(-D_CRT_SECURE_NO_WARNINGS) add_definitions(-D_CRT_SECURE_NO_DEPRECATE) add_definitions(-D_CRT_NONSTDC_NO_WARNINGS) + add_definitions(-D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING) endif() set(CMAKE_CXX_STANDARD 17)