mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
271cfcb64e
(cherry picked from commit 94d00a169ba7934ef719cc38fe0ca1eff8e1b675)
7 lines
223 B
CMake
7 lines
223 B
CMake
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
|
|
# we switched to libuv
|
|
set(SOLARIS ON)
|
|
set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} -lsocket -lnsl")
|
|
add_definitions(-D_POSIX_PTHREAD_SEMANTICS)
|
|
endif()
|