Skip to content

Commit

Permalink
Broaden CMake version range
Browse files Browse the repository at this point in the history
in some files
  • Loading branch information
Steven WdV committed Feb 20, 2024
1 parent 7dee3b8 commit 2eda2a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Rx/v2/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 2 additions & 2 deletions projects/CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2eda2a9

Please sign in to comment.