Skip to content

Commit

Permalink
Require CMake 3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
davidstone committed Jan 29, 2024
1 parent 199e951 commit b85313d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

cmake_minimum_required(VERSION 3.27 FATAL_ERROR)
cmake_policy(VERSION 3.27...3.28)
cmake_minimum_required(VERSION 3.28 FATAL_ERROR)

project(concurrent LANGUAGES CXX)

Expand All @@ -16,10 +15,6 @@ if (NOT has_parent)
set(CMAKE_CXX_STANDARD_REQUIRED On)
set(CMAKE_CXX_EXTENSIONS Off)

if(${CMAKE_VERSION} VERSION_LESS "3.28")
set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "aa1f7df0-828a-4fcd-9afc-2dc80491aca7")
endif()

add_subdirectory(dependencies/cmake_strict_defaults)
add_subdirectory(dependencies/bounded)
add_subdirectory(dependencies/Catch2 EXCLUDE_FROM_ALL)
Expand Down
2 changes: 1 addition & 1 deletion dependencies/numeric-traits
2 changes: 1 addition & 1 deletion dependencies/operators
2 changes: 1 addition & 1 deletion dependencies/std_module
Submodule std_module updated 1 files
+1 −5 CMakeLists.txt

0 comments on commit b85313d

Please sign in to comment.