mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +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()
|