diff --git a/CMakeLists.txt b/CMakeLists.txt index adc78b44..f6f914bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,11 +106,13 @@ endif() if (APPLE) set(ENABLE_METAL_DEFAULT ON) + set(ENABLE_OPENGL_DEFAULT OFF) else() set(ENABLE_METAL_DEFAULT OFF) + set(ENABLE_OPENGL_DEFAULT ON) 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_METAL "Enables the Metal backend" ${ENABLE_METAL_DEFAULT}) option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON)