Fix set version for non-pico platforms.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
2211fafe32
commit
e55014cfb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue