Skip to content

Commit

Permalink
add GEODE_GD_VERSION_STRING macro because i do not trust floating poi…
Browse files Browse the repository at this point in the history
…nt numbers
  • Loading branch information
dankmeme01 committed Sep 27, 2024
1 parent 0c42076 commit 5a7974f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,12 @@ if (NOT DEFINED GEODE_GD_VERSION)
set(GEODE_COMP_GD_VERSION 22060)
endif()

target_compile_definitions(${PROJECT_NAME} INTERFACE GEODE_GD_VERSION=${GEODE_GD_VERSION} GEODE_COMP_GD_VERSION=${GEODE_COMP_GD_VERSION})
target_compile_definitions(
${PROJECT_NAME} INTERFACE
GEODE_GD_VERSION=${GEODE_GD_VERSION}
GEODE_COMP_GD_VERSION=${GEODE_COMP_GD_VERSION}
GEODE_GD_VERSION_STRING="${GEODE_GD_VERSION}"
)

if (WIN32)
# This allows you to compile in debug mode
Expand Down

0 comments on commit 5a7974f

Please sign in to comment.