From 1a93879774490faa0968e7e510649774ad87129e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 15 May 2016 13:56:05 +0200 Subject: Revert "cmake: remove header with version information" It's used in the win32 installer. This reverts commit 3252beca3aa20fe5183a13029db831e4e121f6dc. --- cmake/opentrack-version.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake index 4fc1265a..d753535f 100644 --- a/cmake/opentrack-version.cmake +++ b/cmake/opentrack-version.cmake @@ -16,6 +16,8 @@ if(CMAKE_BUILD_TYPE) endif() endif() +file(WRITE ${CMAKE_BINARY_DIR}/opentrack-version.h "#define OPENTRACK_VERSION \"${_build_type}${OPENTRACK_COMMIT}\"") + set(version-string " #include \"opentrack-compat/export.hpp\" -- cgit v1.2.3