Merge pull request #7792 from infclass/kaffeine/pr

CMake: Re-configure the project on version.h changed
This commit is contained in:
Dennis Felsing 2024-01-13 09:56:03 +00:00 committed by GitHub
commit 84cbd362e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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