mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# 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)
 | 
						|
 | 
						|
bambustudio_add_cmake_project(
 | 
						|
  GLEW
 | 
						|
  SOURCE_DIR  ${CMAKE_CURRENT_LIST_DIR}/glew
 | 
						|
)
 | 
						|
 | 
						|
if (MSVC)
 | 
						|
    add_debug_dep(dep_GLEW)
 | 
						|
endif ()
 |