Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvensson committed Mar 13, 2024
1 parent 8dec573 commit eae5c19
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ endif()

set(CMAKE_VERBOSE_MAKEFILE ON)

set(COMMIT_DESC "0.0.0-0-g00000000")
set(VERSION "Unknown")
set(REVISION "Unknown")

find_package(Git QUIET)
if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
option(GIT_SUBMODULE "Check submodules during build" ON)
Expand Down Expand Up @@ -43,9 +47,6 @@ if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
)

set(VERSION "${REVISION}~${COMMIT_HASH}")
else()
set(VERSION "Unknown")
set(REVISION "Unknown")
endif ()

add_executable(resource_compiler "misc/vstudio/txt2c/txt2c.cpp")
Expand Down

0 comments on commit eae5c19

Please sign in to comment.