Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2018-10-19 (c2f29d2e)
This commit is contained in:
commit
a833c24ceb
@ -35,6 +35,7 @@
|
|||||||
# target_link_libraries. Because of how interface
|
# target_link_libraries. Because of how interface
|
||||||
# properties propagate, this target is not suitable
|
# properties propagate, this target is not suitable
|
||||||
# for use with PUBLIC or INTERFACE linking.
|
# for use with PUBLIC or INTERFACE linking.
|
||||||
|
# KWSYS_ALIAS_TARGET = The name of an alias target to create to the actual target.
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
@ -887,6 +888,9 @@ IF(KWSYS_C_SRCS OR KWSYS_CXX_SRCS)
|
|||||||
ADD_LIBRARY(${KWSYS_TARGET_INTERFACE} ${KWSYS_LIBRARY_TYPE}
|
ADD_LIBRARY(${KWSYS_TARGET_INTERFACE} ${KWSYS_LIBRARY_TYPE}
|
||||||
${KWSYS_C_SRCS} ${KWSYS_CXX_SRCS})
|
${KWSYS_C_SRCS} ${KWSYS_CXX_SRCS})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
if (KWSYS_ALIAS_TARGET)
|
||||||
|
add_library(${KWSYS_ALIAS_TARGET} ALIAS ${KWSYS_TARGET_INTERFACE})
|
||||||
|
endif ()
|
||||||
SET_TARGET_PROPERTIES(${KWSYS_TARGET_OBJECT} PROPERTIES
|
SET_TARGET_PROPERTIES(${KWSYS_TARGET_OBJECT} PROPERTIES
|
||||||
C_CLANG_TIDY ""
|
C_CLANG_TIDY ""
|
||||||
CXX_CLANG_TIDY ""
|
CXX_CLANG_TIDY ""
|
||||||
|
@ -112,7 +112,8 @@ typedef int siginfo_t;
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux) || defined(__sun) || defined(_SCO_DS)
|
#if defined(__linux) || defined(__sun) || defined(_SCO_DS) || \
|
||||||
|
defined(__GLIBC__) || defined(__GNU__)
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user