summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/IRIX64.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
commitc3530dd01f4e44af3e6218d51533f9d10ea3ae53 (patch)
treedc21f1ac5db3571a667d0d4a150c64c9facde3d0 /Modules/Platform/IRIX64.cmake
parenta293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (diff)
downloadCMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.zip
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.gz
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.bz2
BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu
Diffstat (limited to 'Modules/Platform/IRIX64.cmake')
-rw-r--r--Modules/Platform/IRIX64.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake
index d4d9463..b2ce41a 100644
--- a/Modules/Platform/IRIX64.cmake
+++ b/Modules/Platform/IRIX64.cmake
@@ -38,6 +38,7 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3")
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2")
-ELSE(NOT CMAKE_COMPILER_IS_GNUCXX)
- INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
+
+# set up for gcc if the compiler is gcc
+INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)