add commit date; revert boost as we are not breaking anything yet

pull/541/head
Bret Curtis 6 years ago
parent 6596c400f3
commit b8b1a52216

@ -59,6 +59,7 @@ set(OPENMW_VERSION_RELEASE 0)
set(OPENMW_VERSION_COMMITHASH "")
set(OPENMW_VERSION_TAGHASH "")
set(OPENMW_VERSION_COMMITDATE "")
set(OPENMW_VERSION "${OPENMW_VERSION_MAJOR}.${OPENMW_VERSION_MINOR}.${OPENMW_VERSION_RELEASE}")
@ -73,6 +74,14 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/.git)
endif(GIT_FOUND)
endif(EXISTS ${PROJECT_SOURCE_DIR}/.git)
execute_process (
COMMAND ${GIT_EXECUTABLE} log -1 --format='%aI'
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
RESULT_VARIABLE EXITCODE3
OUTPUT_VARIABLE COMMITDATE
OUTPUT_STRIP_TRAILING_WHITESPACE)
string(SUBSTRING ${COMMITDATE} 1 10 OPENMW_VERSION_COMMITDATE)
# Macros
include(OpenMWMacros)

@ -1,6 +1,6 @@
#include "graphicspage.hpp"
#include <boost/integer/common_factor.hpp>
#include <boost/math/common_factor_rt.hpp>
#include <csignal>
#include <QDesktopWidget>
#include <QMessageBox>

@ -43,7 +43,7 @@ Copyright 2017 Bret Curtis <psi29a@gmail.com>
<category>RolePlaying</category>
</categories>
<releases>
<release version="@OPENMW_VERSION@" date="2017-12-05"/>
<release version="@OPENMW_VERSION@" date="@OPENMW_VERSION_COMMITDATE@"/>
</releases>
<url type="homepage">https://openmw.org</url>
<url type="bugtracker">https://bugs.openmw.org/</url>

Loading…
Cancel
Save