Skip to content

Commit

Permalink
add _USE_MATH_DEFINES for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Jul 18, 2018
1 parent 3492207 commit 976d0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FaustLib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ set(WASM_BACKEND OFF CACHE STRING "Include WASM ba
add_subdirectory(./faust/build EXCLUDE_FROM_ALL)

if(MSVC)
set_property(TARGET staticlib APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc /D WIN32 -D_SCL_SECURE_NO_WARNINGS ")
set_property(TARGET staticlib APPEND_STRING PROPERTY COMPILE_FLAGS " /EHsc /D WIN32 -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES")
set_property(TARGET staticlib APPEND_STRING PROPERTY LINK_FLAGS " /ignore:4099 ")
endif()

Expand Down
2 changes: 1 addition & 1 deletion faust
Submodule faust updated 0 files

0 comments on commit 976d0a1

Please sign in to comment.