Skip to content

Commit

Permalink
only set gd version to 2.207 on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Nov 10, 2024
1 parent 2b0970d commit be9ba27
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit be9ba27

Please sign in to comment.