Skip to content

Commit

Permalink
Merge pull request #105 from ejoerns/topic/version-handling
Browse files Browse the repository at this point in the history
allow more generic version numbering
  • Loading branch information
ejoerns authored Sep 15, 2021
2 parents 0103ffa + 713b72f commit be480bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (SYSTEMD_FOUND AND "${SYSTEMD_SERVICES_INSTALL_DIR}" STREQUAL "")
"${SYSTEMD_SERVICES_INSTALL_DIR}")
endif ()

add_definitions( -DPROJECT_VERSION=${CMAKE_PROJECT_VERSION} )
add_definitions( -DPROJECT_VERSION="${CMAKE_PROJECT_VERSION}" )

pkg_check_modules(CURL REQUIRED libcurl>=7.47.0)
include_directories(${CURL_INCLUDE_DIRS})
Expand Down
2 changes: 1 addition & 1 deletion src/rauc-hawkbit-updater.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int main(int argc, char **argv)
}

if (opt_version) {
g_printf("Version %.1f\n", VERSION);
g_printf("Version %s\n", PROJECT_VERSION);
return 0;
}

Expand Down

0 comments on commit be480bd

Please sign in to comment.