Skip to content

Commit

Permalink
prefer opengl legacy library on Linux #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Nov 16, 2024
1 parent 1629b0b commit c110a78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ endif (PROJ_FOUND)

find_package(FOX)
if (FOX_FOUND)
set(OpenGL_GL_PREFERENCE LEGACY)
find_package(OpenGL)
if (OPENGL_FOUND AND OPENGL_GLU_FOUND)
include_directories(SYSTEM ${FOX_INCLUDE_DIR})
Expand Down

0 comments on commit c110a78

Please sign in to comment.