Skip to content
Snippets Groups Projects
Commit 8f2bb59e authored by Brad King's avatar Brad King
Browse files

Merge topic 'SunOS-socket-lib'


687fcd79 Add -lsocket for libcmsys.a build on SunOS

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5
parents 0f249b15 687fcd79
No related branches found
No related tags found
No related merge requests found
......@@ -818,6 +818,9 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
# for symbol lookup using dladdr
TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} ${CMAKE_DL_LIBS})
ENDIF()
IF (CMAKE_SYSTEM_NAME STREQUAL "SunOS")
TARGET_LINK_LIBRARIES(${KWSYS_NAMESPACE} socket)
ENDIF()
ENDIF()
ENDIF()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment