Display git commit in version

This commit is contained in:
sech1
2025-09-14 16:27:26 +02:00
parent 44f8d941a7
commit b69de65e78
3 changed files with 34 additions and 0 deletions

View File

@@ -394,6 +394,8 @@ if (WIN32 AND (CMAKE_BUILD_TYPE STREQUAL "Release"))
add_definitions(-DNDEBUG)
endif()
include(cmake/git.cmake)
add_executable(${CMAKE_PROJECT_NAME} ${HEADERS} ${SOURCES})
if (STATIC_BINARY OR STATIC_LIBS)