1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Executable dependency list fixes.

This commit is contained in:
Camilla Berglund 2012-03-25 17:05:00 +02:00
parent bd8eb1399a
commit 1eb24ff261
2 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,9 @@ 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})
else() else()
link_libraries(${GLFW_LIBRARIES}) link_libraries(${glfw_LIBRARIES})
endif() endif()
include_directories(${GLFW_SOURCE_DIR}/include include_directories(${GLFW_SOURCE_DIR}/include

View File

@ -3,8 +3,9 @@ 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})
else() else()
link_libraries(${GLFW_LIBRARIES}) link_libraries(${glfw_LIBRARIES})
endif() endif()
include_directories(${GLFW_SOURCE_DIR}/include include_directories(${GLFW_SOURCE_DIR}/include