From 8822a22987269b6cf40c1249973b9ed11d5ae1cf Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 2 May 2022 22:52:52 -0400 Subject: [PATCH] Re-Run CMake On Version Change --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14c06ec..4543124 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,11 @@ if(MCPI_IS_APPIMAGE_BUILD) endif() # Version +set_property( + DIRECTORY + APPEND + PROPERTY CMAKE_CONFIGURE_DEPENDS VERSION +) file(STRINGS VERSION VERSION) add_definitions(-DVERSION="${VERSION}")