bring back required switch for opengl with dep_GLEW

This commit is contained in:
tamasmeszaros 2020-04-29 09:44:46 +02:00
parent 2a8c485b32
commit 9cb5975956

View File

@ -1,6 +1,6 @@
# We have to check for OpenGL to compile GLEW
set(OpenGL_GL_PREFERENCE "LEGACY") # to prevent a nasty warning by cmake
find_package(OpenGL QUIET)
find_package(OpenGL QUIET REQUIRED)
prusaslicer_add_cmake_project(
GLEW