mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-07 07:20:07 +00:00
Merge pull request #916 from davidgyu/dev_fix_glew_905
WIN32 Glew fixes to CMakeLists.txt
This commit is contained in:
commit
d4fca48360
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user