Does not try and find the math library under Visual Studio compilers, where it is not needed.
parent
9474bbc8e9
commit
8d07cfe1f3
|
@ -1,6 +1,10 @@
|
||||||
FIND_PACKAGE(OpenGL)
|
FIND_PACKAGE(OpenGL)
|
||||||
FIND_PACKAGE(GLUT)
|
FIND_PACKAGE(GLUT)
|
||||||
find_library(M_LIB m)
|
IF ( MSVC )
|
||||||
|
SET(M_LIB)
|
||||||
|
ELSE ( MSVC )
|
||||||
|
find_library(M_LIB m)
|
||||||
|
ENDIF ( MSVC )
|
||||||
|
|
||||||
IF ( NOT GLUT_FOUND )
|
IF ( NOT GLUT_FOUND )
|
||||||
IF ( MSVC )
|
IF ( MSVC )
|
||||||
|
|
Loading…
Reference in New Issue