diff options
| author | 2022-12-10 15:12:27 -0500 | |
|---|---|---|
| committer | 2022-12-10 15:12:27 -0500 | |
| commit | 8d1d6e149f4929227b00084f7a14f4c701348119 (patch) | |
| tree | a5427fe0489cc7547b2c4be03c1c4f9487483599 /src | |
| parent | Merge pull request #9417 from liamwhite/debug-assert (diff) | |
| download | yuzu-8d1d6e149f4929227b00084f7a14f4c701348119.tar.gz yuzu-8d1d6e149f4929227b00084f7a14f4c701348119.tar.xz yuzu-8d1d6e149f4929227b00084f7a14f4c701348119.zip | |
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 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) |
| 403 | endif() | 403 | endif() |
| 404 | 404 | ||
| 405 | if (NOT APPLE) | 405 | if (NOT APPLE AND ENABLE_OPENGL) |
| 406 | target_compile_definitions(yuzu PRIVATE HAS_OPENGL) | 406 | target_compile_definitions(yuzu PRIVATE HAS_OPENGL) |
| 407 | endif() | 407 | endif() |
| 408 | 408 | ||