From ba6f8cb744e59deaaaefbb46b532b405b09112ac Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Sun, 5 Apr 2026 02:09:18 +0100 Subject: [PATCH] Disable Vulkan renderer on NetBSD because OS Vulkan support doesn't exist --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54eb90e90..f785b5d0c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,8 @@ CMAKE_DEPENDENT_OPTION(ENABLE_LIBUSB "Enable libusb for GameCube Adapter support CMAKE_DEPENDENT_OPTION(ENABLE_SOFTWARE_RENDERER "Enables the software renderer" ON "NOT ANDROID" OFF) CMAKE_DEPENDENT_OPTION(ENABLE_OPENGL "Enables the OpenGL renderer" ${DEFAULT_ENABLE_OPENGL} "NOT APPLE" OFF) -option(ENABLE_VULKAN "Enables the Vulkan renderer" ON) +# NetBSD doesn't support Vulkan yet, remove this check when it does. +CMAKE_DEPENDENT_OPTION(ENABLE_VULKAN "Enables the Vulkan renderer" ON "NOT (BSD MATCHES \"NetBSD\")" OFF) option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)