Properly add maths library for demos

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1085 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
beuc 2012-03-09 19:49:49 +00:00
parent fb34e2f593
commit cd204c47f8

View File

@ -173,7 +173,7 @@ INSTALL(FILES ${FREEGLUT_HEADERS} DESTINATION include/GL)
option( FREEGLUT_BUILD_DEMOS "Build FreeGLUT demos." ON ) option( FREEGLUT_BUILD_DEMOS "Build FreeGLUT demos." ON )
SET(DEMO_LIBS ${OPENGL_LIBRARY} ${LIBS}) SET(DEMO_LIBS ${OPENGL_LIBRARY} ${LIBS})
SET(DEMO_LIBS ${LIBS} m) LIST(APPEND DEMO_LIBS m)
MACRO(ADD_DEMO name) MACRO(ADD_DEMO name)
if( FREEGLUT_BUILD_DEMOS ) if( FREEGLUT_BUILD_DEMOS )