From 95cdb96827b42fa0c2d205cc6ace66f1585fcbaf Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Tue, 17 Sep 2024 12:37:22 -0600 Subject: [PATCH] Remove AMReX_SetupCUDA. (#1248) --- CMakeLists.txt | 2 +- cmake/amr-wind-utils.cmake | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd2e8e3faa..6377aeb271 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ ############################ BASE ###################################### -cmake_minimum_required (VERSION 3.14 FATAL_ERROR) +cmake_minimum_required (VERSION 3.20 FATAL_ERROR) project(AMR-Wind CXX C) set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "") list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") diff --git a/cmake/amr-wind-utils.cmake b/cmake/amr-wind-utils.cmake index 3168836304..97dc415485 100644 --- a/cmake/amr-wind-utils.cmake +++ b/cmake/amr-wind-utils.cmake @@ -31,9 +31,6 @@ macro(init_amrex) set(AMREX_SUBMOD_LOCATION "${CMAKE_SOURCE_DIR}/submods/amrex") include(${CMAKE_SOURCE_DIR}/cmake/set_amrex_options.cmake) list(APPEND CMAKE_MODULE_PATH "${AMREX_SUBMOD_LOCATION}/Tools/CMake") - if (AMR_WIND_ENABLE_CUDA AND (CMAKE_VERSION VERSION_LESS 3.20)) - include(AMReX_SetupCUDA) - endif() add_subdirectory(${AMREX_SUBMOD_LOCATION}) set(FCOMPARE_EXE ${CMAKE_BINARY_DIR}/submods/amrex/Tools/Plotfile/amrex_fcompare CACHE INTERNAL "Path to fcompare executable for regression tests")