summaryrefslogblamecommitdiffstats
path: root/cmake/PostVersionPackaging.cmake
blob: 877cd12e9a6c64d252573a1522b605929f9fd1b7 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                           
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (C) 2020 Manuel Bentele <development@manuel-bentele.de>
#

if(EXISTS ${VERSION_HEADER_INPUT_FILE})
    # remove version.h if generated version.h is available from a Git build
    file(REMOVE ${VERSION_HEADER_OUTPUT_FILE})
endif(EXISTS ${VERSION_HEADER_INPUT_FILE})