diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-15 13:56:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-15 13:56:05 +0200 |
commit | 1a93879774490faa0968e7e510649774ad87129e (patch) | |
tree | df9047f6597def56fe5c546582729d42c4ea4ce9 | |
parent | f1df4e71e2adfd49db465c8135e63beb50b3a68d (diff) |
Revert "cmake: remove header with version information"
It's used in the win32 installer.
This reverts commit 3252beca3aa20fe5183a13029db831e4e121f6dc.
-rw-r--r-- | cmake/opentrack-version.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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\" |