Skip to content

Commit

Permalink
fix: use EMIL_MAYBE_UNUSED in version file generation (philips-softwa…
Browse files Browse the repository at this point in the history
…re#177)

fix: use EMIL_MAYBE_UNUSED
  • Loading branch information
rjaegers committed Jan 19, 2023
1 parent 4498c57 commit 3d9834d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace ${CMAKE_PROJECT_NAME}
{
static const char* VERSION EMIL_MAYBE_UNUSED = "${${CMAKE_PROJECT_NAME}_VERSION_STRING}";
static const char* VERSION_FULL EMIL_MAYBE_UNUSED = "${${CMAKE_PROJECT_NAME}_VERSION_STRING_FULL}";
static const char* VERSION_GIT_SHA VARIABLE_MIGHT_BE_UNUSED = "${${CMAKE_PROJECT_NAME}_VERSION_GIT_SHA}";
static const char* VERSION_GIT_SHA EMIL_MAYBE_UNUSED = "${${CMAKE_PROJECT_NAME}_VERSION_GIT_SHA}";

static const uint16_t VERSION_MAJOR = ${VERSION_MAJOR};
static const uint16_t VERSION_MINOR = ${VERSION_MINOR};
Expand Down

0 comments on commit 3d9834d

Please sign in to comment.