diff --git a/CMakeLists.txt b/CMakeLists.txt index edc393a..0301b99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.22) # Allow building with dependencies that specify cmake_minimum_required < 3.5 # (e.g., argh v1.3.2 specifies VERSION 3.1) diff --git a/docs/setup.rst b/docs/setup.rst index ee67ba9..0b281b9 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -86,7 +86,7 @@ Requirements Following dependencies are required when building kEDM from source. -- `CMake `_ >= 3.16 +- `CMake `_ >= 3.22 - A C++ compiler supporting C++20 (currently tested on GCC and Clang) - LAPACK (on CPU) - CUDA Toolkit (on GPU, currently tested on CUDA >= 12) diff --git a/pyproject.toml b/pyproject.toml index 18d3764..90297b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ test = [ [tool.scikit-build] wheel.install-dir = "kedm" wheel.packages = ["python/kedm"] -cmake.version = ">=3.16" +cmake.version = ">=3.22" [tool.scikit-build.cmake.define] KEDM_ENABLE_PYTHON = true