diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cd948b..1d5c910 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,6 +82,10 @@ if(BUILD_WITH_MARCH_NATIVE) add_compile_options(-march=native) endif() +if(WIN32) + add_compile_definitions(_USE_MATH_DEFINES) +endif() + ############## ## Coverage ## ##############