From 1bedcbd55616e4dd06b2acaccd6bc310c7e4b163 Mon Sep 17 00:00:00 2001 From: Cheng Date: Sun, 16 Nov 2025 07:12:47 +0900 Subject: [PATCH] Fix warnings with cmake 4.1 (#2774) --- cmake/Findnvpl.cmake | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 cmake/Findnvpl.cmake diff --git a/cmake/Findnvpl.cmake b/cmake/Findnvpl.cmake new file mode 100644 index 00000000..011d3033 --- /dev/null +++ b/cmake/Findnvpl.cmake @@ -0,0 +1,3 @@ +# This file does nothing but to suppress the cmake warning: "By not providing +# Findnvpl.cmake in CMAKE_MODULE_PATH...", which is caused by the +# find_package(nvpl) from cmake's builtin FindLAPACK.cmake module. diff --git a/pyproject.toml b/pyproject.toml index 4fc9675d..6fcd5d16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,6 @@ requires = [ "setuptools>=80", "nanobind==2.4.0", - "cmake>=3.25,<4.1", + "cmake>=3.25", ] build-backend = "setuptools.build_meta"