mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
30 lines
506 B
CMake
30 lines
506 B
CMake
include(Macros)
|
|
|
|
register_repository(
|
|
NAME
|
|
cares
|
|
REPOSITORY
|
|
c-ares/c-ares
|
|
COMMIT
|
|
d1722e6e8acaf10eb73fa995798a9cd421d9f85e
|
|
)
|
|
|
|
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?
|
|
LIB_PATH
|
|
lib
|
|
LIBRARIES
|
|
cares
|
|
INCLUDES
|
|
include
|
|
)
|