Skip to content
Snippets Groups Projects
Commit 1eb5f7d0 authored by moenck's avatar moenck
Browse files

Slight refactoring of version

parent f0a399b6
No related branches found
No related tags found
No related merge requests found
Pipeline #15664 passed
Pipeline: utility

#15671

    cmake_minimum_required(VERSION 3.13)
    file(READ version.txt Version)
    #exec_program("git" ${CMAKE_CURRENT_SOURCE_DIR} ARGS "describe --tags --abbrev=0" OUTPUT_VARIABLE GIT_TAG)
    file(READ VERSION PROJECT_VERSION)
    project(biotracker-interfaces
    VERSION ${Version}
    VERSION ${PROJECT_VERSION}
    LANGUAGES CXX)
    include(GNUInstallDirs)
    ......@@ -52,6 +51,6 @@ install(
    )
    set(CPACK_GENERATOR "TXZ")
    set(CPACK_PACKAGE_VERSION ${Version})
    set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
    include(CPack)
    File moved
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment