summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/IRIX64.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-08-26 18:55:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-08-26 18:55:55 (GMT)
commit66a08c10e5bd4b8eff58837cd58372a4dfdd19df (patch)
tree9d094b67d0899a3cebdfeba8b0280d374e7f25db /Modules/Platform/IRIX64.cmake
parent7cdf5c4601ea2a791d35fafadd890508ce434c6f (diff)
downloadCMake-66a08c10e5bd4b8eff58837cd58372a4dfdd19df.zip
CMake-66a08c10e5bd4b8eff58837cd58372a4dfdd19df.tar.gz
CMake-66a08c10e5bd4b8eff58837cd58372a4dfdd19df.tar.bz2
ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code
Diffstat (limited to 'Modules/Platform/IRIX64.cmake')
-rw-r--r--Modules/Platform/IRIX64.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake
index 9403381..1d556fb 100644
--- a/Modules/Platform/IRIX64.cmake
+++ b/Modules/Platform/IRIX64.cmake
@@ -9,6 +9,7 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
# Set default flags init.
SET(CMAKE_C_FLAGS_INIT "")
SET(CMAKE_CXX_FLAGS_INIT "")
+ SET(CMAKE_FORTRAN_FLAGS_INIT "")
SET(CMAKE_EXE_LINKER_FLAGS_INIT "")
SET(CMAKE_SHARED_LINKER_FLAGS_INIT "")
SET(CMAKE_MODULE_LINKER_FLAGS_INIT "")
@@ -27,6 +28,7 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
IF(CMAKE_FILE_SELF MATCHES " 64-bit ")
SET(CMAKE_C_FLAGS_INIT "-64")
SET(CMAKE_CXX_FLAGS_INIT "-64")
+ SET(CMAKE_Fortran_FLAGS_INIT "-64")
SET(CMAKE_EXE_LINKER_FLAGS_INIT "-64")
SET(CMAKE_SHARED_LINKER_FLAGS_INIT "-64")
SET(CMAKE_MODULE_LINKER_FLAGS_INIT "-64")
@@ -41,6 +43,3 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2 -DNDEBUG")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2")
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
-
-# set up for gcc if the compiler is gcc
-INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)