summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-Absoft-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-24 16:18:18 (GMT)
committerBrad King <brad.king@kitware.com>2011-05-20 12:57:51 (GMT)
commitd7b376b3a734c2356a1e5138cf0ae52112612e0c (patch)
treea08fdcb430533b4263e1474dae937e447e3ee529 /Modules/Platform/Darwin-Absoft-Fortran.cmake
parentac5b999fffc88a1db3d4558e2dd6fd104cf2258a (diff)
downloadCMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.zip
CMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.tar.gz
CMake-d7b376b3a734c2356a1e5138cf0ae52112612e0c.tar.bz2
Absoft: Detect implicit link libraries on Linux and Mac
Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it invokes under the hood. Teach CMakeParseImplicitLinkInfo to exclude linker version lines from consideration as link lines. Fix parsing of Sun's linker search path option "-Y..." to avoid conflict with the Mac linker option "-Y<num>".
Diffstat (limited to 'Modules/Platform/Darwin-Absoft-Fortran.cmake')
-rw-r--r--Modules/Platform/Darwin-Absoft-Fortran.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-Absoft-Fortran.cmake b/Modules/Platform/Darwin-Absoft-Fortran.cmake
new file mode 100644
index 0000000..beb41a3
--- /dev/null
+++ b/Modules/Platform/Darwin-Absoft-Fortran.cmake
@@ -0,0 +1 @@
+set(CMAKE_Fortran_VERBOSE_FLAG "-X -v") # Runs gcc under the hood.