1 2 3 4 5 6 7 8 9 10 11 12
diff --git a/CMakeLists.txt b/CMakeLists.txt index c970996..523bdcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -894,6 +894,7 @@ endif() if(MSVC) add_compile_definitions(_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS) + add_compile_options(/wd4146) endif() set(TARGETS)