mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-04-26 19:00:34 +02:00
Fix set version for non-pico platforms.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -41,7 +41,7 @@ macro(SET_VERSION MAJOR MINOR FILE)
|
||||
HEX2DEC(ver_major ${ver_major})
|
||||
HEX2DEC(ver_minor ${ver_minor})
|
||||
message(STATUS "Found version:\t\t ${ver_major}.${ver_minor}")
|
||||
if(NOT ENABLE_EMULATION AND NOT ESP_PLATFORM)
|
||||
if(PICO_PLATFORM)
|
||||
pico_set_binary_version(${CMAKE_PROJECT_NAME} MAJOR ${ver_major} MINOR ${ver_minor})
|
||||
endif()
|
||||
SET(${MAJOR} ${ver_major})
|
||||
|
||||
Reference in New Issue
Block a user