File tree Expand file tree Collapse file tree 5 files changed +5
-13
lines changed Expand file tree Collapse file tree 5 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 )
1
+ cmake_minimum_required (VERSION 3.24 )
2
2
3
3
project ( AMReX-Tutorials
4
4
DESCRIPTION "Tutorials for the AMReX adaptive mesh refinement framework"
@@ -164,10 +164,6 @@ endif ()
164
164
165
165
if (AMReX_GPU_BACKEND STREQUAL "CUDA" )
166
166
enable_language (CUDA )
167
- # AMReX 21.06+ supports CUDA_ARCHITECTURES
168
- if (CMAKE_VERSION VERSION_LESS 3.20 )
169
- include (AMReX_SetupCUDA )
170
- endif ()
171
167
endif ()
172
168
endif ()
173
169
else ()
@@ -178,10 +174,6 @@ else()
178
174
179
175
if (AMReX_GPU_BACKEND STREQUAL "CUDA" )
180
176
enable_language (CUDA )
181
- # AMReX 21.06+ supports CUDA_ARCHITECTURES
182
- if (CMAKE_VERSION VERSION_LESS 3.20 )
183
- include (AMReX_SetupCUDA )
184
- endif ()
185
177
endif ()
186
178
endif ()
187
179
Original file line number Diff line number Diff line change 28
28
# For additional CMake compile options see
29
29
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#building-with-cmake
30
30
31
- cmake_minimum_required (VERSION 3.16 )
31
+ cmake_minimum_required (VERSION 3.24 )
32
32
33
33
## Project name and source file languages
34
34
project (HeatEquation_EX0
Original file line number Diff line number Diff line change 24
24
# For additional CMake compile options see
25
25
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#building-with-cmake
26
26
27
- cmake_minimum_required (VERSION 3.16 )
27
+ cmake_minimum_required (VERSION 3.24 )
28
28
29
29
# Project name and source file languages
30
30
project (HeatEquation_Simple
Original file line number Diff line number Diff line change 26
26
27
27
28
28
29
- cmake_minimum_required (VERSION 3.16 )
29
+ cmake_minimum_required (VERSION 3.24 )
30
30
31
31
# Project name and source file language
32
32
project (HelloWorld
Original file line number Diff line number Diff line change 26
26
27
27
28
28
29
- cmake_minimum_required (VERSION 3.16 )
29
+ cmake_minimum_required (VERSION 3.24 )
30
30
31
31
# Project name and source file language
32
32
project (MultiFab
You can’t perform that action at this time.
0 commit comments