diff options
| author | Liam <byteslice@airmail.cc> | 2022-12-10 15:12:27 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-12-10 15:12:27 -0500 |
| commit | e4f8dbb3d407c55a2b8219f20c79d885fdff00af (patch) | |
| tree | a5427fe0489cc7547b2c4be03c1c4f9487483599 /src | |
| parent | 70c9f6000dfc68e98fee02e3b3d6f7f45b07ee2e (diff) | |
cmake: make OpenGL loader optional
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index d23eb29078..4a7d35617c 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() |
