From 3b7d712b5c3a5e0db71cf690df7b94bb470a397b Mon Sep 17 00:00:00 2001 From: Patrick Stotko Date: Wed, 17 Jul 2024 09:14:54 +0200 Subject: [PATCH] cmake: Update support for CMake 3.30 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b913e665e..af55d3fb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.18...3.28) +cmake_minimum_required(VERSION 3.18...3.30) message(STATUS "Configuring with CMake ${CMAKE_VERSION}") @@ -57,7 +57,7 @@ if(STDGPU_BACKEND STREQUAL STDGPU_BACKEND_CUDA) enable_language(CUDA) elseif(STDGPU_BACKEND STREQUAL STDGPU_BACKEND_HIP) - cmake_minimum_required(VERSION 3.21.3...3.26) + cmake_minimum_required(VERSION 3.21.3...3.30) if(DEFINED CMAKE_HIP_ARCHITECTURES) set(STDGPU_HIP_ARCHITECTURE_FLAGS_USER ${CMAKE_HIP_ARCHITECTURES})