fix cmake git version

This commit is contained in:
ITotalJustice committed 2024-12-16 21:48:16 +00:00
1 parent 0370e47f7f
commit 34a44f3717
1 file changed
+2 -2
+2 -2
View File
@@ -31,9 +31,9 @@ execute_process(
)
if (GIT_DIRTY)
set(sphaira_VERSION_HASH "${sphaira_VERSION} ${GIT_COMMIT}-dirty")
else()
set(sphaira_VERSION_HASH "${sphaira_VERSION} ${GIT_COMMIT}")
else()
set(sphaira_VERSION_HASH "${sphaira_VERSION}")
endif()
add_executable(sphaira