mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
29 lines
520 B
CMake
29 lines
520 B
CMake
register_repository(
|
|
NAME
|
|
cares
|
|
REPOSITORY
|
|
c-ares/c-ares
|
|
COMMIT
|
|
d3a507e920e7af18a5efb7f9f1d8044ed4750013
|
|
)
|
|
|
|
register_cmake_command(
|
|
TARGET
|
|
cares
|
|
TARGETS
|
|
c-ares
|
|
ARGS
|
|
-DCARES_STATIC=ON
|
|
-DCARES_STATIC_PIC=ON # FORCE_PIC was set to 1, but CARES_STATIC_PIC was set to OFF??
|
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
|
-DCARES_SHARED=OFF
|
|
-DCARES_BUILD_TOOLS=OFF # this was set to ON?
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
LIB_PATH
|
|
lib
|
|
LIBRARIES
|
|
cares
|
|
INCLUDES
|
|
include
|
|
)
|