Skip to content

Commit 6edff65

Browse files
Use cmake_policy through min...max in cmake_minimum_required
1 parent fac6224 commit 6edff65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/pybind11/onemkl_gemv/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.22 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.22...3.22 FATAL_ERROR)
22

33
project(example_use_mkl_gemm LANGUAGES CXX)
44
set(DPCTL_CMAKE_MODULES_PATH "${CMAKE_SOURCE_DIR}/../../../cmake")

examples/pybind11/use_dpctl_sycl_kernel/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.21)
1+
cmake_minimum_required(VERSION 3.21...3.22 FATAL_ERROR)
22

33
project(use_queue_device LANGUAGES CXX)
44

0 commit comments

Comments
 (0)