all repos — mgba @ 72f8657017040aad0999a9f0474332c8275e8f89

mGBA Game Boy Advance Emulator

All: Set default git info to unknown
Jeffrey Pfau jeffrey@endrift.com
Sat, 15 Aug 2015 15:31:42 -0700
commit

72f8657017040aad0999a9f0474332c8275e8f89

parent

e18c10e5e15fb7e7f8ae18699bc49a737916afd4

1 files changed, 10 insertions(+), 0 deletions(-)

jump to
M version.cmakeversion.cmake

@@ -32,6 +32,16 @@ set(VERSION_STRING ${LIB_VERSION_ABI}-${VERSION_STRING})

endif() endif() +if(NOT GIT_COMMIT) + set(GIT_COMMIT "(unknown)") +endif() +if(NOT GIT_COMMIT_SHORT) + set(GIT_COMMIT_SHORT "(unknown)") +endif() +if(NOT GIT_BRANCH) + set(GIT_BRANCH "(unknown)") +endif() + if(CONFIG_FILE AND OUT_FILE) configure_file("${CONFIG_FILE}" "${OUT_FILE}") endif()