From 2eda2a9befef3ac16a9e1f0274193b87cfe7f261 Mon Sep 17 00:00:00 2001 From: Steven WdV <> Date: Tue, 20 Feb 2024 11:44:27 +0100 Subject: [PATCH] Broaden CMake version range in some files --- CMakeLists.txt | 2 +- Rx/v2/test/CMakeLists.txt | 2 +- projects/CMake/CMakeLists.txt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae61a35e6..b3b334448 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.2...3.28 FATAL_ERROR) # define some folders diff --git a/Rx/v2/test/CMakeLists.txt b/Rx/v2/test/CMakeLists.txt index 22d8e0d05..3cbcd9f89 100644 --- a/Rx/v2/test/CMakeLists.txt +++ b/Rx/v2/test/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.2...3.28 FATAL_ERROR) project(rxcpp_test LANGUAGES C CXX) diff --git a/projects/CMake/CMakeLists.txt b/projects/CMake/CMakeLists.txt index 2b3d57e97..20582e988 100755 --- a/projects/CMake/CMakeLists.txt +++ b/projects/CMake/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.2 FATAL_ERROR) +cmake_minimum_required(VERSION 3.2...3.28 FATAL_ERROR) project(rxcpp VERSION 2.2.4 LANGUAGES C CXX) @@ -150,7 +150,7 @@ install(DIRECTORY ${RXCPP_DIR}/Rx/v2/src/rxcpp/ DESTINATION include/rxcpp FILES_MATCHING PATTERN "*.hpp") # Here we are exporting TARGETS so that other projects can import rxcpp -# just with find_package(rxcpp CONFIG) after rxcpp is installed into system by "make install". +# just with find_package(rxcpp CONFIG) after rxcpp is installed into system by "make install". add_library(rxcpp INTERFACE) target_include_directories(rxcpp INTERFACE