mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-05 06:04:58 -06:00
build macos with no opengl as default
This commit is contained in:
parent
e98a725c0b
commit
46ab3966ff
@ -106,11 +106,13 @@ endif()
|
|||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(ENABLE_METAL_DEFAULT ON)
|
set(ENABLE_METAL_DEFAULT ON)
|
||||||
|
set(ENABLE_OPENGL_DEFAULT OFF)
|
||||||
else()
|
else()
|
||||||
set(ENABLE_METAL_DEFAULT OFF)
|
set(ENABLE_METAL_DEFAULT OFF)
|
||||||
|
set(ENABLE_OPENGL_DEFAULT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(ENABLE_OPENGL "Enables the OpenGL backend" ON)
|
option(ENABLE_OPENGL "Enables the OpenGL backend" ${ENABLE_OPENGL_DEFAULT})
|
||||||
option(ENABLE_VULKAN "Enables the Vulkan backend" ON)
|
option(ENABLE_VULKAN "Enables the Vulkan backend" ON)
|
||||||
option(ENABLE_METAL "Enables the Metal backend" ${ENABLE_METAL_DEFAULT})
|
option(ENABLE_METAL "Enables the Metal backend" ${ENABLE_METAL_DEFAULT})
|
||||||
option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user