Skip to content

Commit c801e52

Browse files
committed
Update cmake file with new standard header.
1 parent 9963f8a commit c801e52

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

cmake/GetGit.cmake

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
# getgit.cmake
2-
# This script attempts to determine the Git commit ID and writes or updates
3-
# a "gitrevision.h" file if successful.
4-
#
5-
# Authors:
6-
# Juan Jose Nicola <[email protected]>
7-
#
8-
# Copyright:
91
# Copyright (C) 2018 Greenbone Networks GmbH
102
#
3+
# SPDX-License-Identifier: GPL-2.0-or-later
4+
#
115
# This program is free software; you can redistribute it and/or
126
# modify it under the terms of the GNU General Public License
137
# as published by the Free Software Foundation; either version 2
@@ -22,6 +16,9 @@
2216
# along with this program; if not, write to the Free Software
2317
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2418

19+
# This script attempts to determine the Git commit ID and writes or updates
20+
# a "gitrevision.h" file if successful.
21+
2522
find_package (Git)
2623

2724
macro (Git_GET_REVISION dir variable)

0 commit comments

Comments
 (0)