Skip to content

Commit

Permalink
CMake: Re-configure the project on version.h changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Jan 13, 2024
1 parent 80f77c5 commit c569607
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c569607

Please sign in to comment.