mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-07 23:40:12 +00:00
fix opengl loader include error when build with opengl and examples
This commit is contained in:
parent
ff76e0f2dc
commit
4f5834de30
@ -71,6 +71,10 @@ if(CUDA_FOUND)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(DEFINED OPENGL_LOADER_INCLUDE_DIRS)
|
||||
include_directories(${OPENGL_LOADER_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if(OPENGL_FOUND AND GLFW_FOUND)
|
||||
|
||||
list(APPEND EXAMPLES_COMMON_GL_SOURCE_FILES
|
||||
@ -87,8 +91,6 @@ if(OPENGL_FOUND AND GLFW_FOUND)
|
||||
glShaderCache.h
|
||||
)
|
||||
|
||||
include_directories(${OPENGL_LOADER_INCLUDE_DIRS})
|
||||
|
||||
if (GLFW_FOUND)
|
||||
include_directories("${GLFW_INCLUDE_DIR}")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user