diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-01-10 16:06:18 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-01-10 18:38:30 +0100 |
commit | d22606dc078bbd618d2563a552a62cd4f46ac682 (patch) | |
tree | f3535e2de293c7f5f8f21ae44d2a0537ee941157 /src/irmd | |
parent | b71c2cc9938eee649d6b4a787d4c4bebe849d6e9 (diff) | |
download | ouroboros-d22606dc078bbd618d2563a552a62cd4f46ac682.tar.gz ouroboros-d22606dc078bbd618d2563a552a62cd4f46ac682.zip |
include: Add version header0.9.0
This moves the version definition for Ouroboros into its own header
file, which is generated by CMake and installed on the system.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/config.h.in | 4 | ||||
-rw-r--r-- | src/irmd/main.c | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/irmd/config.h.in b/src/irmd/config.h.in index 2a1a6d6a..923a6ef5 100644 --- a/src/irmd/config.h.in +++ b/src/irmd/config.h.in @@ -28,10 +28,6 @@ #define INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@" -#define OUROBOROS_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@ -#define OUROBOROS_VERSION_MINOR @PACKAGE_VERSION_MINOR@ -#define OUROBOROS_VERSION_PATCH @PACKAGE_VERSION_PATCH@ - #define PTHREAD_COND_CLOCK @PTHREAD_COND_CLOCK@ #define SOCKET_TIMEOUT @SOCKET_TIMEOUT@ diff --git a/src/irmd/main.c b/src/irmd/main.c index f109d5e2..1e794139 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -42,6 +42,7 @@ #include <ouroboros/time_utils.h> #include <ouroboros/tpm.h> #include <ouroboros/logs.h> +#include <ouroboros/version.h> #include "utils.h" #include "registry.h" |