Tests: Ensure MSVC has M_PI
Somewhere in the test suite GTest is including cmath (or something related) and not declaring this, so later includes of it by the tests are being ignored.
This commit is contained in:
committed by
Chris Hennes
parent
e3c17ff991
commit
5766505f20
@@ -29,7 +29,7 @@ if(MSVC)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DCOIN_DLL)
|
||||
add_definitions(-DCOIN_DLL -D_USE_MATH_DEFINES)
|
||||
endif(WIN32)
|
||||
|
||||
if(NOT BUILD_DYNAMIC_LINK_PYTHON)
|
||||
|
||||
Reference in New Issue
Block a user