diff options
Diffstat (limited to 'librabbitmq/CMakeLists.txt')
-rw-r--r-- | librabbitmq/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librabbitmq/CMakeLists.txt b/librabbitmq/CMakeLists.txt index a369c0b..140c4b9 100644 --- a/librabbitmq/CMakeLists.txt +++ b/librabbitmq/CMakeLists.txt @@ -33,10 +33,10 @@ add_custom_command( VERBATIM) -SET(CONFIG_CONTENTS "#define VERSION \"0.2\" +SET(CONFIG_CONTENTS "#define VERSION \"${VERSION}\" #ifndef __cplusplus # define inline ${C_INLINE} -#endif // __cplusplus +#endif /* __cplusplus */ ") #prepare config.h |