From 75758c1a3e6bb15de334b5c84edbff2f8f3bec66 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 8 Jan 2015 15:40:54 -0800 Subject: [PATCH] Use static GLEW in render-utils for Windows --- libraries/render-utils/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/render-utils/CMakeLists.txt b/libraries/render-utils/CMakeLists.txt index f84bd97c13..cf3d7a6ad7 100644 --- a/libraries/render-utils/CMakeLists.txt +++ b/libraries/render-utils/CMakeLists.txt @@ -9,5 +9,10 @@ include_glm() link_hifi_libraries(animation fbx shared gpu) +if (WIN32) + # we're using static GLEW, so define GLEW_STATIC + add_definitions(-DGLEW_STATIC) +endif () + # call macro to include our dependency includes and bubble them up via a property on our target include_dependency_includes() \ No newline at end of file