diff options
author | Brad King <brad.king@kitware.com> | 2017-08-04 09:49:04 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-07 09:16:09 -0400 |
commit | 49640d362981e918d94ef92c7a184749bbd7473d (patch) | |
tree | 38c85f08ebeb9f843336267e49d51f009095ec38 /CMakeLists.txt | |
parent | acd462dd314c599e4d7b9231723729fdcc189bee (diff) | |
download | cmake-49640d362981e918d94ef92c7a184749bbd7473d.tar.gz |
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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ed924eb4e5..831e25fd62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,14 @@ if(CMAKE_BOOTSTRAP) endif() if(NOT CMake_TEST_EXTERNAL_CMAKE) + if(CMAKE_SYSTEM_NAME STREQUAL "HP-UX") + message(FATAL_ERROR + "CMake no longer compiles on HP-UX. See\n" + " https://gitlab.kitware.com/cmake/cmake/issues/17137\n" + "Use CMake 3.9 or lower instead." + ) + endif() + set(CMake_BIN_DIR ${CMake_BINARY_DIR}/bin) endif() @@ -536,9 +544,6 @@ int main(void) { return 0; } if(NOT HAVE_CoreServices_OS_X_10_5) set(CMAKE_USE_LIBUV 0) endif() - elseif(CMAKE_SYSTEM_NAME STREQUAL "HP-UX") - # Disable until it can be ported. - set(CMAKE_USE_LIBUV 0) endif() endif() if(CMAKE_USE_LIBUV) |