1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Disable libuv on Solaris 10

Two issues need to be resolved to add Solaris 10
libuv support:

1. libuv needs to provide alternative functionality
   for systems that do not support mkdtemp()
2. cmake should set SUNOS_NO_IFADDRS for Solaris 10
   builds (but not Solaris 11)
This commit is contained in:
Eric Berge
2016-12-21 15:34:11 -06:00
parent 4918cd8c98
commit ba8bb32162

View File

@@ -510,6 +510,9 @@ int main(void) { return 0; }
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "sparc")
# Disable until it can be ported.
set(CMAKE_USE_LIBUV 0)
elseif(CMAKE_SYSTEM STREQUAL "SunOS-5.10")
# Disable until it can be ported.
set(CMAKE_USE_LIBUV 0)
endif()
endif()
if(CMAKE_USE_LIBUV)