Use cmake build in timestamp function to generate the build time stamp
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 17 Oct 2017 18:57:50 +0000 (20:57 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 18 Oct 2017 13:22:04 +0000 (15:22 +0200)
commit191da55a728d7229fb449fb84f222252b4a604dc
tree052c4c5800908698ac1422ac1a5c32ed106a1090
parent8f84d2d250f3ee41e0672118f6c8b3f15041b09d
Use cmake build in timestamp function to generate the build time stamp

The recent implementation generates a timestamp containing eol on
linux hosts, which generates unparseable versioninfo.rc.

This commit raises the minimal required cmake version to 3.0.2.

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015
Reviewed-by: Simon McVittie <smcv@collabora.com>
cmake/CMakeLists.txt
cmake/modules/Macros.cmake