aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/config.h.in
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-07-13 11:08:19 -0700
committerMartin Braun <martin.braun@ettus.com>2018-07-13 11:44:04 -0700
commit1f0a8561f0ccda4dee47dd364d30bef4ac966721 (patch)
tree6550a6117b1b63b4bdbfb1e210e4e0f667d4edc8 /host/include/config.h.in
parent02316d42fcbf0a3282c0f5ef5d89059eb5ed6745 (diff)
downloaduhd-1f0a8561f0ccda4dee47dd364d30bef4ac966721.tar.gz
uhd-1f0a8561f0ccda4dee47dd364d30bef4ac966721.tar.bz2
uhd-1f0a8561f0ccda4dee47dd364d30bef4ac966721.zip
cmake: Fix version numbering
UHD-* branches were being detected as "development", and #cmakedefine does not like it when values are actually zero.
Diffstat (limited to 'host/include/config.h.in')
-rw-r--r--host/include/config.h.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/include/config.h.in b/host/include/config.h.in
index c69673908..6557254b6 100644
--- a/host/include/config.h.in
+++ b/host/include/config.h.in
@@ -8,10 +8,10 @@
#cmakedefine HAVE_LOG2
/* Version macros */
-#cmakedefine UHD_VERSION_MAJOR ${UHD_VERSION_MAJOR}
-#cmakedefine UHD_VERSION_API ${UHD_VERSION_API}
-#cmakedefine UHD_VERSION_ABI ${UHD_VERSION_ABI}
-#cmakedefine UHD_VERSION_PATCH ${UHD_VERSION_PATCH}
+#define UHD_VERSION_MAJOR ${UHD_VERSION_MAJOR}
+#define UHD_VERSION_API ${UHD_VERSION_API}
+#define UHD_VERSION_ABI ${UHD_VERSION_ABI}
+#define UHD_VERSION_PATCH ${UHD_VERSION_PATCH}
#cmakedefine ENABLE_USB
#cmakedefine ENABLE_LIBERIO
#ifndef UHD_VERSION