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)