diff options
author | Brad King <brad.king@kitware.com> | 2003-06-27 13:48:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-27 13:48:03 (GMT) |
commit | d73794f814391d52d406616116756c19914ed897 (patch) | |
tree | 0c743fca03e83cfa6b6ab3ca58026e7baf4fe818 /CMakeLists.txt | |
parent | bab4bcb5707d99db18febcbf3746a191a7f9c9ec (diff) | |
download | CMake-d73794f814391d52d406616116756c19914ed897.zip CMake-d73794f814391d52d406616116756c19914ed897.tar.gz CMake-d73794f814391d52d406616116756c19914ed897.tar.bz2 |
ERR: Disabling multiply defined symbols warning for linking executables on IRIX. The compiler's prelinker does not add weak symbols, so template instantiations are duplicated.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a51bcf..f30933b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,12 @@ IF(CMAKE_SYSTEM MATCHES "AIX.*") ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) ENDIF(CMAKE_SYSTEM MATCHES "AIX.*") +IF(CMAKE_SYSTEM MATCHES "IRIX.*") + IF(NOT CMAKE_COMPILER_IS_GNUCXX) + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -LD_MSG:off=15 ") + ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) +ENDIF(CMAKE_SYSTEM MATCHES "IRIX.*") + IF(CMAKE_SYSTEM MATCHES "OSF1-V.*") IF(NOT CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -timplicit_local -no_implicit_include ") |