From c56960728dd235ce752ad8f8dfe373258a88fa71 Mon Sep 17 00:00:00 2001 From: Alexander Akulich Date: Sat, 13 Jan 2024 07:45:40 +0300 Subject: [PATCH] CMake: Re-configure the project on version.h changed --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a67618be..20691cd76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2018,6 +2018,8 @@ set_src(GAME_SHARED GLOB src/game version.h voting.h ) +set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "src/game/version.h") + # A bit hacky, but these are needed to register all the UUIDs, even for stuff # that doesn't link game. set(ENGINE_UUID_SHARED