summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/IRIX64.cmake
diff options
context:
space:
mode:
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)