diff options
author | Brad King <brad.king@kitware.com> | 2009-12-04 13:51:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-04 13:51:46 (GMT) |
commit | 77ded39645ac09a190fe058bf796978bfe2327ba (patch) | |
tree | 155b3cdc7e330b5c2cc057508d21940c7c922335 | |
parent | d2f1dac136589a07426b66e8a382b3c3160cf745 (diff) | |
download | CMake-77ded39645ac09a190fe058bf796978bfe2327ba.zip CMake-77ded39645ac09a190fe058bf796978bfe2327ba.tar.gz CMake-77ded39645ac09a190fe058bf796978bfe2327ba.tar.bz2 |
Fix GNU C and Fortran flags on SunOS
The commit "Split GNU compiler information files" intended to move GNU
flags from the platform-wide Platform/SunOS.cmake module into
Platform/SunOS-GNU-<lang>.cmake
using a helper module Platform/SunOS-GNU.cmake to consolidate flags.
However, it accidentally put Fortran flags in the C language module and
left out the Fortran module altogether. This fixes those mistakes.
-rw-r--r-- | Modules/Platform/SunOS-GNU-C.cmake | 2 | ||||
-rw-r--r-- | Modules/Platform/SunOS-GNU-Fortran.cmake | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/SunOS-GNU-C.cmake b/Modules/Platform/SunOS-GNU-C.cmake index c6b1888..6a96c00 100644 --- a/Modules/Platform/SunOS-GNU-C.cmake +++ b/Modules/Platform/SunOS-GNU-C.cmake @@ -1,2 +1,2 @@ include(Platform/SunOS-GNU) -__sunos_compiler_gnu(Fortran) +__sunos_compiler_gnu(C) diff --git a/Modules/Platform/SunOS-GNU-Fortran.cmake b/Modules/Platform/SunOS-GNU-Fortran.cmake new file mode 100644 index 0000000..c6b1888 --- /dev/null +++ b/Modules/Platform/SunOS-GNU-Fortran.cmake @@ -0,0 +1,2 @@ +include(Platform/SunOS-GNU) +__sunos_compiler_gnu(Fortran) |