This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/599-provide-and-use-c-service-in-rust
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/599-provide-and-use-c-service-in-rust by this push:
     new e3aa83a6  #599: Add CMake 3.19 requirement for Rust PoC
e3aa83a6 is described below

commit e3aa83a651a7c5c8b4edfcea08cf93ed17b74c39
Author: Pepijn Noltes <[email protected]>
AuthorDate: Wed Sep 6 19:23:28 2023 +0200

     #599: Add CMake 3.19 requirement for Rust PoC
---
 misc/experimental/rust/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/misc/experimental/rust/CMakeLists.txt 
b/misc/experimental/rust/CMakeLists.txt
index 964ab62d..b407937e 100644
--- a/misc/experimental/rust/CMakeLists.txt
+++ b/misc/experimental/rust/CMakeLists.txt
@@ -17,6 +17,10 @@
 
 option(CELIX_RUST_EXPERIMENTAL "Enable experimental rust bundle" OFF)
 if (CELIX_RUST_EXPERIMENTAL AND TARGET Celix::shell_tui AND TARGET 
Celix::shell AND TARGET Celix::log_admin)
+    #Note because of FetchContent_Declare needs CMake 3.19 or higher,
+    #so the Apache Celix Rust PoC needs CMake 3.19 or higher
+    cmake_minimum_required(VERSION 3.19)
+
     include(FetchContent)
     FetchContent_Declare(
             Corrosion

Reply via email to