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)
add_definitions(-DGLFW_DLL)
link_libraries(${OPENGL_gl_LIBRARY})
else()
link_libraries(${GLFW_LIBRARIES})
link_libraries(${glfw_LIBRARIES})
endif()
include_directories(${GLFW_SOURCE_DIR}/include

View File

@ -3,8 +3,9 @@ link_libraries(glfw ${OPENGL_glu_LIBRARY})
if (BUILD_SHARED_LIBS)
add_definitions(-DGLFW_DLL)
link_libraries(${OPENGL_gl_LIBRARY})
else()
link_libraries(${GLFW_LIBRARIES})
link_libraries(${glfw_LIBRARIES})
endif()
include_directories(${GLFW_SOURCE_DIR}/include