danfis / libccd

Library for collision detection between two convex shapes
Other
478 stars 108 forks source link

find_library(MATH m) #2

Closed afabri closed 11 years ago

afabri commented 11 years ago

For windows/VC++ there is no need to explicitly link against the math library. And find_library(MATH m) does not even work on this platform

I modified the CMakeList.txt as follows

if(NOT WIN32) find_library(MATH m) else() set(MATH "") endif()

danfis commented 11 years ago

Fixed in https://github.com/danfis/libccd/commit/2ddebf8917da5812306f74520d871ac8d8c1871e. Thanks afabri.