Skip to content

Commit

Permalink
pipeline: fix windows obs version parsing due to reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Yousif-CS committed Sep 6, 2022
1 parent c976329 commit b31e924
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 0 UI_VERSION)
list(GET UI_VERSION_SPLIT 2 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 b31e924

Please sign in to comment.