diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 80006e3..6968cfb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,9 @@ include(GNUInstallDirs) +# Write version in header. +configure_file ("version.hpp.in" + "${PROJECT_BINARY_DIR}/version.hpp" @ONLY) + add_library(${PROJECT_NAME}) file(GLOB_RECURSE sources_lib *.cpp) |