Re-Run CMake On Version Change
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2022-05-02 22:52:52 -04:00
parent 53cb68beee
commit 8822a22987

View File

@ -100,6 +100,11 @@ if(MCPI_IS_APPIMAGE_BUILD)
endif() endif()
# Version # Version
set_property(
DIRECTORY
APPEND
PROPERTY CMAKE_CONFIGURE_DEPENDS VERSION
)
file(STRINGS VERSION VERSION) file(STRINGS VERSION VERSION)
add_definitions(-DVERSION="${VERSION}") add_definitions(-DVERSION="${VERSION}")