summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-25 16:40:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-25 16:40:14 (GMT)
commit016c71c681a144d3cc8feb66bbab020302a7943e (patch)
tree12677115782dffd474fdd396474110eff98218c6 /Modules/Platform
parentadaa3931151800aacdd370e514cdba069d521302 (diff)
parent2a5955ac0934ca11d706a8d6508561681e5a0581 (diff)
downloadCMake-016c71c681a144d3cc8feb66bbab020302a7943e.zip
CMake-016c71c681a144d3cc8feb66bbab020302a7943e.tar.gz
CMake-016c71c681a144d3cc8feb66bbab020302a7943e.tar.bz2
Merge topic 'intel-fortran-nofor-main'
2a5955ac09 Intel: Replace deprecated Fortran flag -nofor_main with -nofor-main Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5729
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Linux-Intel-Fortran.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Linux-Intel-Fortran.cmake b/Modules/Platform/Linux-Intel-Fortran.cmake
index d8e94d0..a99e793 100644
--- a/Modules/Platform/Linux-Intel-Fortran.cmake
+++ b/Modules/Platform/Linux-Intel-Fortran.cmake
@@ -1,4 +1,4 @@
include(Platform/Linux-Intel)
__linux_compiler_intel(Fortran)
-string(APPEND CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS " -nofor_main")
+string(APPEND CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS " -nofor-main")
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "")