From e3aa83a651a7c5c8b4edfcea08cf93ed17b74c39 Mon Sep 17 00:00:00 2001 From: Pepijn Noltes Date: Wed, 6 Sep 2023 19:23:28 +0200 Subject: [PATCH] #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 964ab62da..b407937e0 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