From be9ba27ba4ffcfb49cee083b237561110a2557aa Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Sun, 10 Nov 2024 01:28:57 -0300 Subject: [PATCH] only set gd version to 2.207 on desktop --- CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e07864f..3e9684c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,8 +189,13 @@ include(cmake/Platform.cmake) include(cmake/GeodeFile.cmake) if (NOT DEFINED GEODE_GD_VERSION) - set(GEODE_GD_VERSION 2.2073) - set(GEODE_COMP_GD_VERSION 22073) + if (GEODE_TARGET_PLATFORM STREQUAL "Win64" OR GEODE_TARGET_PLATFORM STREQUAL "MacOS") + set(GEODE_GD_VERSION 2.2073) + set(GEODE_COMP_GD_VERSION 22073) + else() + set(GEODE_GD_VERSION 2.206) + set(GEODE_COMP_GD_VERSION 22060) + endif() endif() target_compile_definitions(