Browse Source

Fix wrong prerelease version component parsing

cl-refactor
Paweł Bylica 10 years ago
parent
commit
89db6f0696
  1. 2
      evmjit/libevmjit/CMakeLists.txt

2
evmjit/libevmjit/CMakeLists.txt

@ -36,7 +36,7 @@ if(${EVMJIT_VERSION_FULL} MATCHES "^v[0-9]+\\.[0-9]+")
if(${NUM_VERSION_NUMBERS} GREATER 2)
list(GET VERSION_NUMBERS 2 EVMJIT_VERSION_PATCH) # patch number is optional
endif()
if(${NUM_VERSION_COMPONENTS} GREATER 0)
if(${NUM_VERSION_COMPONENTS} EQUAL 1 OR ${NUM_VERSION_COMPONENTS} EQUAL 3) # git describe add 2 or 0 components
list(GET VERSION_COMPONENTS 1 EVMJIT_VERSION_PRERELEASE)
endif()
endif()

Loading…
Cancel
Save