Skip to content

Commit

Permalink
Parse and set binary version
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Henarejos <[email protected]>
  • Loading branch information
polhenarejos committed Sep 3, 2024
1 parent c433e13 commit d78e925
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ set(SOURCES ${SOURCES}
set(USB_ITF_CCID 1)
set(USB_ITF_WCID 1)
include(pico-keys-sdk/pico_keys_sdk_import.cmake)

SET_VERSION(ver_major ver_minor "${CMAKE_CURRENT_LIST_DIR}/src/hsm/version.h")

if(ESP_PLATFORM)
project(pico_hsm)
endif()
Expand Down
2 changes: 1 addition & 1 deletion pico-keys-sdk

0 comments on commit d78e925

Please sign in to comment.