Skip to content

Commit

Permalink
Drop OpenGL GLVND policy (it's default-on in newer cmakes)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Oct 31, 2024
1 parent 6eee201 commit e62954c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/oscar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# find dependencies (usually built+installed from `third_party/`)
if (NOT ${OSC_EMSCRIPTEN})
cmake_policy(PUSH)
cmake_policy(SET CMP0072 NEW) # prefer to choose GLVND for OpenGL
find_package(OpenGL REQUIRED)
cmake_policy(POP)

find_package(glew REQUIRED CONFIG)
find_package(SDL2 REQUIRED CONFIG)
find_package(nativefiledialog REQUIRED CONFIG)
Expand Down

0 comments on commit e62954c

Please sign in to comment.