summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Mai2022-12-11 21:09:52 +0000
committerGravatar GitHub2022-12-11 21:09:52 +0000
commit0c531ff911606cdbed0ea1865fd8beb9a3f45874 (patch)
tree54851b76928d53e58528b6bf5464f6095ca6e6f7 /src
parentMerge pull request #9415 from liamwhite/dc (diff)
parentcmake: make OpenGL loader optional (diff)
downloadyuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.gz
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.xz
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.zip
Merge pull request #9419 from liamwhite/no-gl
cmake: make OpenGL loader optional
Diffstat (limited to '')
-rw-r--r--src/yuzu/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index d23eb2907..4a7d35617 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -402,7 +402,7 @@ if (MSVC)
402 copy_yuzu_FFmpeg_deps(yuzu) 402 copy_yuzu_FFmpeg_deps(yuzu)
403endif() 403endif()
404 404
405if (NOT APPLE) 405if (NOT APPLE AND ENABLE_OPENGL)
406 target_compile_definitions(yuzu PRIVATE HAS_OPENGL) 406 target_compile_definitions(yuzu PRIVATE HAS_OPENGL)
407endif() 407endif()
408 408