Moved dynamic loading macros to configuration header.

This commit is contained in:
Camilla Berglund
2012-03-29 14:21:04 +02:00
parent dd8b098387
commit fcf54b4b27
3 changed files with 8 additions and 1 deletions
+3
View File
@@ -54,6 +54,9 @@ if (_GLFW_WIN32_WGL)
list(APPEND glfw_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR})
list(APPEND glfw_LIBRARIES ${OPENGL_gl_LIBRARY})
set(_GLFW_NO_DLOAD_GDI32 ${BUILD_SHARED_LIBS})
set(_GLFW_NO_DLOAD_WINMM ${BUILD_SHARED_LIBS})
if (BUILD_SHARED_LIBS)
list(APPEND glfw_LIBRARIES winmm)
endif()