diff --git a/cmake/gotcha_config.h.in b/cmake/gotcha_config.h.in index eed2e5b..14a4a4d 100644 --- a/cmake/gotcha_config.h.in +++ b/cmake/gotcha_config.h.in @@ -1,7 +1,7 @@ #ifndef GOTCHA_CONFIG_H #define GOTCHA_CONFIG_H -#define GOTCHA_GET_VERSION(MAJOR, MINOR, PATCH) MAJOR * 100000 + MINOR * 100 + PATCH +#define GOTCHA_GET_VERSION(MAJOR, MINOR, PATCH) (MAJOR * 100000 + MINOR * 100 + PATCH) #define GOTCHA_VERSION (GOTCHA_GET_VERSION @GOTCHA_VERSION@) #define GOTCHA_VERSION_MAJOR (GOTCHA_VERSION / 100000) #define GOTCHA_VERSION_MINOR ((GOTCHA_VERSION / 100) % 1000)