From 8d1d6e149f4929227b00084f7a14f4c701348119 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 10 Dec 2022 15:12:27 -0500 Subject: cmake: make OpenGL loader optional Co-authored-by: liushuyu --- src/yuzu/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() -- cgit v1.2.3