lokinet/cmake/solaris.cmake
Rick V 271cfcb64e
remove all disused platform-specific event loops
(cherry picked from commit 94d00a169ba7934ef719cc38fe0ca1eff8e1b675)
2019-06-13 21:02:57 -05:00

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()