aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-08-31 22:37:47 +0200
committerSven Gothel <[email protected]>2021-08-31 22:37:47 +0200
commitb333478f163179fa9737d17ee30bc7d316f3de27 (patch)
tree10d16886e79e96b187ae599be3d753d547211dab /cmake
parent7ca6fea44262586d46e17efadbf268d17e242fd2 (diff)
Properly expose runtime version C++ (DIRECT_BT_VERSION etc) and Java via BTFactory
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/version.c.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/modules/version.c.in b/cmake/modules/version.c.in
index 81c07e18..0400a6c0 100644
--- a/cmake/modules/version.c.in
+++ b/cmake/modules/version.c.in
@@ -1,5 +1,5 @@
-#include "version.h"
+#include <direct_bt/version.h>
-const char* gVERSION = "@VERSION@";
-const char* gVERSION_SHORT = "@VERSION_SHORT@";
-const char* gVERSION_API = "@VERSION_API@";
+const char* DIRECT_BT_VERSION = "@VERSION@";
+const char* DIRECT_BT_VERSION_SHORT = "@VERSION_SHORT@";
+const char* DIRECT_BT_VERSION_API = "@VERSION_API@";