Added libm as direct dependency for tests and examples.

This commit is contained in:
Camilla Berglund 2012-04-19 16:57:44 +02:00
parent a7d19ed77e
commit 141b56afc0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ link_libraries(glfw ${OPENGL_glu_LIBRARY})
if (BUILD_SHARED_LIBS) if (BUILD_SHARED_LIBS)
add_definitions(-DGLFW_DLL) add_definitions(-DGLFW_DLL)
link_libraries(${OPENGL_gl_LIBRARY}) link_libraries(${OPENGL_gl_LIBRARY} ${MATH_LIBRARY})
else() else()
link_libraries(${glfw_LIBRARIES}) link_libraries(${glfw_LIBRARIES})
endif() endif()

View File

@ -3,7 +3,7 @@ link_libraries(glfw ${OPENGL_glu_LIBRARY})
if (BUILD_SHARED_LIBS) if (BUILD_SHARED_LIBS)
add_definitions(-DGLFW_DLL) add_definitions(-DGLFW_DLL)
link_libraries(${OPENGL_gl_LIBRARY}) link_libraries(${OPENGL_gl_LIBRARY} ${MATH_LIBRARY})
else() else()
link_libraries(${glfw_LIBRARIES}) link_libraries(${glfw_LIBRARIES})
endif() endif()