From cabc696710bdecf5c9e74a4ca16050f6b31c4f2a Mon Sep 17 00:00:00 2001 From: deve Date: Mon, 26 Sep 2016 11:28:19 +0200 Subject: [PATCH] Fixed compilation with cmake 3.6 --- lib/glew/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/glew/CMakeLists.txt b/lib/glew/CMakeLists.txt index 010773992..987e3e5b8 100644 --- a/lib/glew/CMakeLists.txt +++ b/lib/glew/CMakeLists.txt @@ -16,3 +16,5 @@ add_library(glew STATIC include/GL/glew.h include/GL/glxew.h include/GL/wglew.h src/glew.c src/glewinfo.c ) + +target_link_libraries(glew ${OPENGL_LIBRARIES})