From 29ea0990d87e906e5f0abc99d47c05266cf5ac8e Mon Sep 17 00:00:00 2001 From: Michael Ilyin Date: Tue, 5 Nov 2024 01:09:32 +0100 Subject: [PATCH] copy version.txt to build directory --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a125d71e..da6be5e66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,6 +114,7 @@ function(configure_cargo_toml cargo_toml_dir CARGO_PROJECT_VERSION CARGO_LIB_NAM ${CMAKE_CURRENT_SOURCE_DIR}/cbindgen.toml ${CMAKE_CURRENT_SOURCE_DIR}/Cargo.lock ${CMAKE_CURRENT_SOURCE_DIR}/rust-toolchain.toml + ${CMAKE_CURRENT_SOURCE_DIR}/version.txt DESTINATION ${cargo_toml_dir}) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/include/zenoh.h