Ver código fonte

Look in libsocket for socket functions on Solaris

tags/v1.4.90
Pierre Ossman 9 anos atrás
pai
commit
a3f6194601
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      CMakeLists.txt

+ 3
- 0
CMakeLists.txt Ver arquivo

@@ -258,6 +258,9 @@ if(WIN32)
set(HAVE_INET_ATON 1)
set(HAVE_GETADDRINFO 1)
else()
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set(CMAKE_REQUIRED_LIBRARIES socket)
endif()
check_function_exists(inet_aton HAVE_INET_ATON)
check_function_exists(getaddrinfo HAVE_GETADDRINFO)
set(CMAKE_REQUIRED_LIBRARIES)

Carregando…
Cancelar
Salvar