File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ endif()
4
4
5
5
if (CMAKE_VERSION VERSION_GREATER 3.2.3 )
6
6
# Detect Fortran compiler version directly
7
- if (gfortran_compiler AND (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER 4.9.2 ))
7
+ if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 5 ))
8
8
set (opencoarrays_aware_compiler true )
9
9
else ()
10
10
set (opencoarrays_aware_compiler false )
11
11
endif ()
12
12
else ()
13
13
# Use the C compiler version as a proxy for the Fortran compiler version (won't work with NAG)
14
- if (gfortran_compiler AND (CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.9.2 ))
14
+ if (gfortran_compiler AND (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5 ))
15
15
set (opencoarrays_aware_compiler true )
16
16
else ()
17
17
set (opencoarrays_aware_compiler false )
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ target_link_libraries(atomics OpenCoarrays)
13
13
14
14
# C tests
15
15
#include(CMakeForceCompiler)
16
- #CMAKE_FORCE_C_COMPILER($ENV{CC} GNU)
17
- add_executable (C_sync_images syncimages2.c ../../../mpi/mpi_caf.c ../../../common/caf_auxiliary.c )
16
+ #CMAKE_FORCE_C_COMPILER(mpicc GNU)
17
+ # add_executable(C_sync_images syncimages2.c ../../../mpi/mpi_caf.c ../../../common/caf_auxiliary.c)
You can’t perform that action at this time.
0 commit comments