Re-Run CMake On Version Change
This commit is contained in:
parent
53cb68beee
commit
8822a22987
@ -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}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user