X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3b0436f0dd7d2216764a7c0d1f25ed9312d524e..d32c3965b97d9eb7365d5de53449771aa787909b:/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt?ds=sidebyside diff --git a/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt index 07fc59922c..51e98fb1fd 100644 --- a/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/pt2pt/CMakeLists.txt @@ -10,6 +10,9 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN) include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") add_executable(allpairf EXCLUDE_FROM_ALL allpairf.f) + if((CMAKE_Fortran_COMPILER_ID MATCHES "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "9.99")) + set_property(SOURCE allpairf.f PROPERTY COMPILE_FLAGS -std=legacy) + endif() add_executable(greqf EXCLUDE_FROM_ALL greqf.f dummyf.f) # add_executable(mprobef EXCLUDE_FROM_ALL mprobef.f) add_executable(statusesf EXCLUDE_FROM_ALL statusesf.f)