File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,9 @@ endif()
1212
1313check_include_file_cxx(span HAVE_SPAN)
1414
15- if (NOT HAVE_SPAN OR
16- (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU" AND
17- CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 12))
18- set (sampling_old TRUE )
19- endif ()
20-
21- if (NOT sampling_old)
15+ if (HAVE_SPAN)
2216add_executable (sampling sampling.cpp sampling.f90)
2317set_property (TARGET sampling PROPERTY LINKER_LANGUAGE CXX)
24- target_compile_features (sampling PRIVATE cxx_std_20)
2518
2619add_test (NAME sampling COMMAND sampling)
2720endif ()
Original file line number Diff line number Diff line change 1-
21add_library (int_iterator OBJECT lib.cpp)
3- target_compile_features (int_iterator PUBLIC cxx_std_20)
42target_include_directories (int_iterator PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} )
53
64# glitch in arm64 GitHub Actions. Happened on other projects too (h5fortran-mpi)
You can’t perform that action at this time.
0 commit comments