Merge pull request #916 from davidgyu/dev_fix_glew_905

WIN32 Glew fixes to CMakeLists.txt
This commit is contained in:
George ElKoura 2017-01-06 13:42:45 -08:00 committed by GitHub
commit d4fca48360

View File

@ -530,10 +530,12 @@ else()
endif()
if (WIN32)
add_definitions(
# Link against the static version of GLEW.
-DGLEW_STATIC
)
if ("${GLEW_LIBRARY}" MATCHES "glew32s(d|)")
# Link against the static version of GLEW
add_definitions(
-DGLEW_STATIC
)
endif()
if (DXSDK_FOUND AND NOT NO_DX)
add_definitions(