diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-25 16:44:15 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-25 16:44:15 +0100 |
commit | 4d10ea5c7fa4ee2f3f3075ec087967854db08d2a (patch) | |
tree | acda663919bcd498673e0fd1ee9dd8306467bce2 /cmake | |
parent | cfe4da0b81ada6cad528a269d8dc5ec5661edd44 (diff) |
cmake/version: don't export from static library
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-version.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake index c9b29bee..42a74b51 100644 --- a/cmake/opentrack-version.cmake +++ b/cmake/opentrack-version.cmake @@ -18,15 +18,12 @@ endif() file(WRITE ${CMAKE_BINARY_DIR}/opentrack-version.h "#define OPENTRACK_VERSION \"${OPENTRACK_COMMIT}${_build_type}\"") set(version-string " -#define BUILD_compat -#include \"compat/export.hpp\" - #ifdef __cplusplus extern \"C\" #else extern #endif -OPENTRACK_COMPAT_EXPORT + const char* opentrack_version; const char* opentrack_version = \"${OPENTRACK_COMMIT}${_build_type}\"; |