diff --git a/CMakeLists.txt b/CMakeLists.txt index 07c0f174..868c5e7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,8 @@ endif() if(NOT MSVC) #add_compile_options(-Wempty-body) # GCC/Clang flag add_compile_options(-Wreturn-type) # GCC/Clang flag +else() + add_definitions(-D_CRT_SILENCE_NONCONFORMING_TGMATH_H) endif()