diff --git a/CMakeLists.txt b/CMakeLists.txt index 90179159..963be24f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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