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

GLEW.cmake « GLEW « deps - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5916ce7eb73c8411752dad8804cfedd7dd4089f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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(
  GLEW
  SOURCE_DIR  ${CMAKE_CURRENT_LIST_DIR}/glew
)

if (MSVC)
    add_debug_dep(dep_GLEW)
endif ()