summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-PGI-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-28 17:54:45 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-30 18:34:50 (GMT)
commit571721c562786ee0996367b590693f82a643fbfb (patch)
tree4a9f219a279b026db971c0b2ff78011f78c6febd /Modules/Platform/Darwin-PGI-Fortran.cmake
parenta6fe714eaa6e25c2a661c3ec57f7eb8b8dbadede (diff)
downloadCMake-571721c562786ee0996367b590693f82a643fbfb.zip
CMake-571721c562786ee0996367b590693f82a643fbfb.tar.gz
CMake-571721c562786ee0996367b590693f82a643fbfb.tar.bz2
PGI: Pass macOS-specific link flags directly to linker
The PGI compiler on macOS does not support some macOS-specific flags so pass them through `-Wl,` to the linker directly. Issue: #16457
Diffstat (limited to 'Modules/Platform/Darwin-PGI-Fortran.cmake')
-rw-r--r--Modules/Platform/Darwin-PGI-Fortran.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-PGI-Fortran.cmake b/Modules/Platform/Darwin-PGI-Fortran.cmake
new file mode 100644
index 0000000..146807b
--- /dev/null
+++ b/Modules/Platform/Darwin-PGI-Fortran.cmake
@@ -0,0 +1,2 @@
+include(Platform/Darwin-PGI)
+__darwin_compiler_pgi(Fortran)