overte/libraries/gpu-gl/CMakeLists.txt
Dale Glass 1c44bc96d9 Set GL preference to GLVND
This should be a no-op, besides generating less build warnings,
since:

"CMake 3.11 and above prefer to choose GLVND libraries."

And 3.11 is a few years old at this point
2020-09-27 20:37:12 +02:00

11 lines
256 B
CMake

set(TARGET_NAME gpu-gl)
setup_hifi_library(Concurrent)
link_hifi_libraries(shared gl gpu gpu-gl-common shaders)
if (UNIX)
target_link_libraries(${TARGET_NAME} pthread)
endif(UNIX)
GroupSources("src")
set(OpenGL_GL_PREFERENCE "GLVND")
target_opengl()