12 lines
462 B
CMake
12 lines
462 B
CMake
# Load version number components.
|
|
include (${CMAKE_SOURCE_DIR}/Versions.cmake)
|
|
|
|
# Compute the full version string.
|
|
if (WSJTX_RC AND NOT WSJTX_VERSION_IS_RELEASE)
|
|
set (WSJTX_VERSION_PATCH ${WSJTX_VERSION_PATCH}-rc${WSJTX_RC})
|
|
elseif (NOT WSJTX_VERSION_IS_RELEASE)
|
|
set (WSJTX_VERSION_PATCH ${WSJTX_VERSION_PATCH}-devel)
|
|
endif (WSJTX_RC AND NOT WSJTX_VERSION_IS_RELEASE)
|
|
|
|
set (wsjtx_VERSION ${WSJTX_VERSION_MAJOR}.${WSJTX_VERSION_MINOR}.${WSJTX_VERSION_PATCH})
|