Skip to content

Commit

Permalink
pipeline: fix version list index on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Yousif-CS committed Sep 6, 2022
1 parent b31e924 commit 4321ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ endif()
# Binary Versioning for Windows
if(WIN32)
string(REPLACE "-" ";" UI_VERSION_SPLIT ${OBS_VERSION})
list(GET UI_VERSION_SPLIT 2 UI_VERSION)
list(GET UI_VERSION_SPLIT 1 UI_VERSION)
string(REPLACE "." ";" UI_VERSION_SEMANTIC ${UI_VERSION})
list(GET UI_VERSION_SEMANTIC 0 UI_VERSION_MAJOR)
list(GET UI_VERSION_SEMANTIC 1 UI_VERSION_MINOR)
Expand Down

0 comments on commit 4321ab8

Please sign in to comment.