mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-01 15:50:07 +00:00
Further simplification of OpenGL import targets
The internal GL API Loader implementation is self contained and does not require the system OpenGL implementation at build time, so we don't need the OpenGL::GL import target for this case. An earlier change added the OpenGL::GL import target for legacy uses of GLEW and it remains correct there. Fixes #1277
This commit is contained in:
parent
db1ac8045c
commit
90a8122c2d
@ -504,7 +504,6 @@ elseif(OPENGL_FOUND)
|
|||||||
set(OPENGL_LOADER_INCLUDE_DIRS
|
set(OPENGL_LOADER_INCLUDE_DIRS
|
||||||
${PROJECT_SOURCE_DIR}/glLoader)
|
${PROJECT_SOURCE_DIR}/glLoader)
|
||||||
set(OPENGL_LOADER_LIBRARIES
|
set(OPENGL_LOADER_LIBRARIES
|
||||||
OpenGL::GL
|
|
||||||
${CMAKE_DL_LIBS})
|
${CMAKE_DL_LIBS})
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user