diff options
Diffstat (limited to 'Modules/Platform/IRIX64.cmake')
-rw-r--r-- | Modules/Platform/IRIX64.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/IRIX64.cmake b/Modules/Platform/IRIX64.cmake index 32654ae..aa5f1b8 100644 --- a/Modules/Platform/IRIX64.cmake +++ b/Modules/Platform/IRIX64.cmake @@ -13,8 +13,10 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX) SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O3") SET (CMAKE_CXX_FLAGS_RELEASE "-O2") SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2") - SET (CMAKE_C_FLAGS "") ENDIF(NOT CMAKE_CXX_FLAGS) + IF(NOT CMAKE_C_FLAGS) + SET (CMAKE_C_FLAGS "") + ENDIF(NOT CMAKE_C_FLAGS) ELSE(NOT CMAKE_COMPILER_IS_GNUCXX) INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake) ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) |