Cleanup: Fix build error with MSVC

Previously eigens internal include order somehow implicitly provided
M_PI and friends. The recent eigen version bump broke this implicit
behaviour, better to be explicit that we need the math defines for MSVC.
This commit is contained in:
Lazydodo
2019-08-21 10:38:33 -06:00
parent 34921e9e56
commit 6086a6d939
4 changed files with 7 additions and 6 deletions

View File

@@ -27,6 +27,10 @@ set(INC_SYS
${EIGEN3_INCLUDE_DIRS}
)
if(WIN32)
add_definitions(-D_USE_MATH_DEFINES)
endif()
set(SRC
intern/IK_QJacobian.cpp
intern/IK_QJacobianSolver.cpp