diff --git a/version.h.in b/version.h.in index 3c80a99141..295ce56abe 100644 --- a/version.h.in +++ b/version.h.in @@ -25,10 +25,10 @@ #define MIRALL_TOSTRING(s) #s /* MIRALL version */ -constexpr int MIRALL_VERSION_MAJOR = @MIRALL_VERSION_MAJOR@; -constexpr int MIRALL_VERSION_MINOR = @MIRALL_VERSION_MINOR@; -constexpr int MIRALL_VERSION_PATCH = @MIRALL_VERSION_PATCH@; -constexpr int MIRALL_VERSION_BUILD = @MIRALL_VERSION_BUILD@; +constexpr auto MIRALL_VERSION_MAJOR = @MIRALL_VERSION_MAJOR@; +constexpr auto MIRALL_VERSION_MINOR = @MIRALL_VERSION_MINOR@; +constexpr auto MIRALL_VERSION_PATCH = @MIRALL_VERSION_PATCH@; +constexpr auto MIRALL_VERSION_BUILD = @MIRALL_VERSION_BUILD@; constexpr auto MIRALL_VERSION_SUFFIX = "@MIRALL_VERSION_SUFFIX@"; #cmakedefine MIRALL_VERSION @MIRALL_VERSION@