Skip to content

Commit

Permalink
set OpenGL_GL_PREFERENCE to GLVND (explicitly set CMP0072)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch authored and stevenlovegrove committed Oct 5, 2019
1 parent d33757d commit dada6a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ if(BUILD_PANGOLIN_GUI AND BUILD_PANGOLIN_VARS AND BUILD_PANGOLIN_VIDEO )
list(APPEND SOURCES tools/video_viewer.cpp)
endif()

if(LINUX)
set(OpenGL_GL_PREFERENCE "GLVND")
endif()

#######################################################
## Setup required includes / link info

Expand Down

0 comments on commit dada6a9

Please sign in to comment.