We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9948f6f commit a9a7f8dCopy full SHA for a9a7f8d
core/CMakeLists.txt
@@ -80,7 +80,9 @@ LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
80
INCLUDE(GetGitRevisionDescription)
81
#GET_GIT_HEAD_REVISION(GIT_REFSPEC GIT_SHA1)
82
83
-git_describe(VERSION --tags --dirty)
+# changed to look at the working tree and not the latest commit hash -- allows for use of --dirty.
84
+git_describe_working_tree(VERSION --tags --dirty)
85
+message(STATUS "ROSS VERSION=${VERSION}")
86
87
#parse the version information into pieces.
88
string(REGEX REPLACE "^v([0-9]+)\\..*" "\\1" VERSION_MAJOR "${VERSION}")
0 commit comments