mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Added libm as direct dependency for tests and examples.
This commit is contained in:
parent
a7d19ed77e
commit
141b56afc0
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user