mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-06 17:12:32 -07:00
cmake: make OpenGL loader optional
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user