From becab72c13e3825ad22a4007cdeb28192b4a73d0 Mon Sep 17 00:00:00 2001 From: emiyl Date: Mon, 20 Apr 2026 23:33:37 +0100 Subject: [PATCH] set_compile_definitions -> add_compile_definitions --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bec2a399..4e5f8ad7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,7 +116,7 @@ option(ENABLE_METAL "Enables the Metal backend" ${ENABLE_METAL_DEFAULT}) option(ENABLE_DISCORD_RPC "Enables the Discord Rich Presence feature" ON) if (ENABLE_OPENGL) - set_compile_definitions(ENABLE_OPENGL) + add_compile_definitions(ENABLE_OPENGL) endif() if (ENABLE_VULKAN) add_compile_definitions(ENABLE_VULKAN)