diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-17 12:37:15 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2020-06-18 15:47:44 +0100 |
commit | 778f86989a446e73133d893c6588c728e6fb2206 (patch) | |
tree | f15de22f7373248aebe6fb0f45fe8a93bc85571d /src/yuzu/CMakeLists.txt | |
parent | b19fe55f8420ab6f6b8ef35ef7d80be54a02ce17 (diff) |
bootmanager: Remove references to OpenGL for macOS
OpenGL macOS headers definitions clash heavily with each other
Diffstat (limited to 'src/yuzu/CMakeLists.txt')
-rw-r--r-- | src/yuzu/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 8b9404718..75c27e39e 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -208,6 +208,10 @@ if (MSVC) copy_yuzu_unicorn_deps(yuzu) endif() +if (NOT APPLE) + target_compile_definitions(yuzu PRIVATE HAS_OPENGL) +endif() + if (ENABLE_VULKAN) target_include_directories(yuzu PRIVATE ../../externals/Vulkan-Headers/include) target_compile_definitions(yuzu PRIVATE HAS_VULKAN) |