diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e07864fd..3e9684c86 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(