set(WSCLEAN_VERSION_STR   3.6)
set(WSCLEAN_VERSION_MAJOR 3)
set(WSCLEAN_VERSION_MINOR 6)
set(WSCLEAN_VERSION_DATE  2025-02-07)

# SOVERSION stored in the library, was added for Debian
# packaging, but seems unnecessary after all -- hence
# keep constant.
set(WSCLEAN_VERSION_SO    2)

# Get the latest abbreviated commit hash of the working branch
execute_process(
  COMMAND git describe --tags
  WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
  OUTPUT_VARIABLE WSCLEAN_GIT_HASH
  OUTPUT_STRIP_TRAILING_WHITESPACE)
