Revert ".h.in aren't compiled"

This allows the version.h.in file to show up in IDEs.

This reverts commit db5f28e65a.
This commit is contained in:
heinrich5991 2023-09-08 16:21:52 +02:00
parent a07fd521f7
commit 237c2eba35

View file

@ -376,7 +376,7 @@ function(set_glob VAR GLOBBING EXTS DIRECTORY) # ...
endfunction()
function(set_src VAR GLOBBING DIRECTORY) # ...
set_glob(${VAR} ${GLOBBING} "c;cpp;h" ${DIRECTORY} ${ARGN})
set_glob(${VAR} ${GLOBBING} "c;cpp;h;h.in" ${DIRECTORY} ${ARGN})
set(${VAR} ${${VAR}} PARENT_SCOPE)
set(CHECKSUM_SRC ${CHECKSUM_SRC} ${${VAR}} PARENT_SCOPE)
endfunction()
@ -1992,6 +1992,7 @@ set_src(GAME_SHARED GLOB src/game
teamscore.h
tuning.h
variables.h
version.h.in
voting.h
)
# A bit hacky, but these are needed to register all the UUIDs, even for stuff