diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e91617..52cd05d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -770,6 +770,7 @@ endif() if(MSVC) add_compile_definitions(_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS) + add_compile_options(/wd4146) endif() set(CMAKE_INCLUDE_CURRENT_DIR 1)