From: Augustin Degomme Date: Sat, 24 Feb 2018 10:15:01 +0000 (+0100) Subject: since update, flang is now identified as flang by cmake, and not pgi anymore X-Git-Tag: v3.19~178 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/37147380a9b22e9a31427859eed2def0bb2c3d74?ds=sidebyside since update, flang is now identified as flang by cmake, and not pgi anymore --- diff --git a/CMakeLists.txt b/CMakeLists.txt index de8f25d2b3..51590bce4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ if ((NOT DEFINED enable_smpi) OR enable_smpi) elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel") set(SMPI_Fortran_FLAGS "\"-fPIC\" \"-nofor-main\"") set(SMPI_Fortran_LIBS "\"-lifcore\"") - elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI") # flang + elseif(CMAKE_Fortran_COMPILER_ID MATCHES "PGI|Flang") # flang set(SMPI_Fortran_FLAGS "\"-fPIC\"") set(SMPI_Fortran_LIBS "") endif()