Merge pull request #9419 from liamwhite/no-gl

cmake: make OpenGL loader optional
This commit is contained in:
Mai
2022-12-11 21:09:52 +00:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -402,7 +402,7 @@ if (MSVC)
copy_yuzu_FFmpeg_deps(yuzu)
endif()
if (NOT APPLE)
if (NOT APPLE AND ENABLE_OPENGL)
target_compile_definitions(yuzu PRIVATE HAS_OPENGL)
endif()