Skip to content

Commit

Permalink
_USE_MATH_DEFINES
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Apr 15, 2024
1 parent ad0e9a4 commit bd93d42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ##
##############
Expand Down

0 comments on commit bd93d42

Please sign in to comment.