diff options
author | Brad King <brad.king@kitware.com> | 2017-08-04 13:49:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-07 13:16:09 (GMT) |
commit | 49640d362981e918d94ef92c7a184749bbd7473d (patch) | |
tree | 38c85f08ebeb9f843336267e49d51f009095ec38 /CompileFlags.cmake | |
parent | acd462dd314c599e4d7b9231723729fdcc189bee (diff) | |
download | CMake-49640d362981e918d94ef92c7a184749bbd7473d.zip CMake-49640d362981e918d94ef92c7a184749bbd7473d.tar.gz CMake-49640d362981e918d94ef92c7a184749bbd7473d.tar.bz2 |
HP-UX: Drop support for building CMake on HP-UX
CMake will soon require both C++11 and libuv to build. Neither of
these works on HP-UX, so unfortunately we need to drop support for
the platform until someone can get them working.
Issue: #17137
Diffstat (limited to 'CompileFlags.cmake')
-rw-r--r-- | CompileFlags.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/CompileFlags.cmake b/CompileFlags.cmake index 7a9d4cd..9834b04 100644 --- a/CompileFlags.cmake +++ b/CompileFlags.cmake @@ -37,18 +37,6 @@ if(CMAKE_SYSTEM MATCHES "OSF1-V") endif() endif() -if(CMAKE_SYSTEM_NAME MATCHES "HP-UX" AND CMAKE_CXX_COMPILER_ID MATCHES "HP") - # HP aCC since version 3.80 supports the flag +hpxstd98 to get ANSI C++98 - # template support. It is known that version 6.25 doesn't need that flag. - # Versions prior to 3.80 will not be able to build CMake. Current assumption: - # it is needed for every version from 3.80 to 4 to get it working. - if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4 AND - NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.80) - # use new C++ library and improved template support - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -AA +hpxstd98") - endif() -endif() - # Workaround for short jump tables on PA-RISC if(CMAKE_SYSTEM_PROCESSOR MATCHES "^parisc") if(CMAKE_COMPILER_IS_GNUCC) |