mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-20 00:32:37 +01:00
Fix LN8825 release (#1978)
This commit is contained in:
committed by
GitHub
parent
3b485ee997
commit
ca2b1d7172
@@ -4,6 +4,8 @@ if($ENV{APP_VERSION} MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+$")
|
||||
string(REPLACE "." ";" VERSION_LIST "$ENV{APP_VERSION}")
|
||||
list(GET VERSION_LIST 1 VER_MAJOR)
|
||||
list(GET VERSION_LIST 2 VER_MINOR)
|
||||
|
||||
math(EXPR VER_MINOR "${VER_MINOR} % 256")
|
||||
else()
|
||||
set(VER_MAJOR 0)
|
||||
set(VER_MINOR 1)
|
||||
|
||||
Reference in New Issue
Block a user