2019-12-10 10:10:46 +00:00
|
|
|
# We have to check for OpenGL to compile GLEW
|
|
|
|
find_package(OpenGL QUIET REQUIRED)
|
|
|
|
|
|
|
|
prusaslicer_add_cmake_project(
|
|
|
|
GLEW
|
|
|
|
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/glew
|
|
|
|
)
|
2019-12-11 11:24:21 +00:00
|
|
|
|
|
|
|
if (MSVC)
|
|
|
|
add_debug_dep(dep_GLEW)
|
|
|
|
endif ()
|