Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
same thing elsewhere
[simgrid.git] / teshsuite / smpi / mpich3-test / f90 / coll / CMakeLists.txt
index edf6f69..f302438 100644 (file)
@@ -17,7 +17,7 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN)
     add_executable(${test} EXCLUDE_FROM_ALL ${test}.f90)
     add_dependencies(tests ${test})
     target_link_libraries(${test} simgrid mtest_f90)
-    if((CMAKE_Fortran_COMPILER_ID MATCHES "GNU") AND (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0"))
+    if((CMAKE_Fortran_COMPILER_ID MATCHES "GNU") AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS "10.0"))
       set_property(SOURCE ${test}.f90 PROPERTY COMPILE_FLAGS -std=legacy)
     endif()
   endforeach()