mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
15 lines
646 B
Diff
15 lines
646 B
Diff
--- a/cmake/CreateGitVersionHeader.cmake
|
|
+++ b/cmake/CreateGitVersionHeader.cmake
|
|
@@ -32,10 +32,10 @@ macro( create_git_version_header _git_src_path )
|
|
set( _Git_SAVED_LC_ALL "$ENV{LC_ALL}" )
|
|
set( ENV{LC_ALL} C )
|
|
|
|
- # Use `git describe --dirty` to create the KiCad version string.
|
|
+ # Use `git describe` to create the KiCad version string.
|
|
execute_process(
|
|
COMMAND
|
|
- ${GIT_EXECUTABLE} describe --dirty
|
|
+ ${GIT_EXECUTABLE} describe
|
|
WORKING_DIRECTORY ${_git_src_path}
|
|
OUTPUT_VARIABLE _git_DESCRIBE
|
|
ERROR_VARIABLE _git_describe_error
|