Sha256: d7536a5c09bd840b926084044e077ed1c00b703cc601336abe0c2d5135dc780c
Contents?: true
Size: 543 Bytes
Versions: 14
Compression:
Stored size: 543 Bytes
Contents
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${node_platform}-${cares_arch}) add_definitions(-DHAVE_CONFIG_H=1) include(CheckLibraryExists) check_library_exists(socket socket "" HAVE_SOCKET_LIB) check_library_exists(nsl gethostbyname "" HAVE_NSL_LIB) file(GLOB lib_sources *.c) add_library(cares ${lib_sources}) if(${HAVE_SOCKET_LIB}) set(cares_libs ${cares_libs} socket) endif() if(${HAVE_NSL_LIB}) set(cares_libs ${cares_libs} nsl) endif() if(cares_libs) target_link_libraries(cares ${cares_libs}) endif()
Version data entries
14 entries across 14 versions & 3 rubygems