From 5d185dc203d8f89cbc80f9741689ca43fdf1019b Mon Sep 17 00:00:00 2001 From: emiyl Date: Mon, 20 Apr 2026 23:25:18 +0100 Subject: [PATCH] fix cmake syntax --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10fd422c..bec2a399 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,10 +117,10 @@ option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON) if (ENABLE_OPENGL) set_compile_definitions(ENABLE_OPENGL) -else() +endif() if (ENABLE_VULKAN) add_compile_definitions(ENABLE_VULKAN) -else() +endif() if (ENABLE_METAL AND NOT APPLE) message(FATAL_ERROR "Metal backend is only supported on Apple platforms")