summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2022-12-11 22:09:52 +0100
committerGitHub <noreply@github.com>2022-12-11 22:09:52 +0100
commit0c531ff911606cdbed0ea1865fd8beb9a3f45874 (patch)
tree54851b76928d53e58528b6bf5464f6095ca6e6f7 /src
parentMerge pull request #9415 from liamwhite/dc (diff)
parentcmake: make OpenGL loader optional (diff)
downloadyuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.gz
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.bz2
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.lz
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.xz
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.tar.zst
yuzu-0c531ff911606cdbed0ea1865fd8beb9a3f45874.zip
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)
copy_yuzu_FFmpeg_deps(yuzu)
endif()
-if (NOT APPLE)
+if (NOT APPLE AND ENABLE_OPENGL)
target_compile_definitions(yuzu PRIVATE HAS_OPENGL)
endif()