Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/GLEW/GLEW.cmake')
-rw-r--r--deps/GLEW/GLEW.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/GLEW/GLEW.cmake b/deps/GLEW/GLEW.cmake
index fcbdcd20c..5916ce7eb 100644
--- a/deps/GLEW/GLEW.cmake
+++ b/deps/GLEW/GLEW.cmake
@@ -1,4 +1,5 @@
# 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 REQUIRED)
prusaslicer_add_cmake_project(