mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
- Add libgit2 as a git submodule in vendor/ - Fix cmake configuration to use proper ARGS instead of CMAKE_ARGS - Use correct TARGETS (libgit2package) to build static library - Disable NTLM and GSSAPI which require HTTPS backend Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
413 B
CMake
24 lines
413 B
CMake
register_cmake_command(
|
|
TARGET
|
|
libgit2
|
|
TARGETS
|
|
libgit2package
|
|
LIBRARIES
|
|
git2
|
|
ARGS
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_CLI=OFF
|
|
-DUSE_SSH=OFF
|
|
-DUSE_HTTPS=OFF
|
|
-DUSE_NTLMCLIENT=OFF
|
|
-DUSE_GSSAPI=OFF
|
|
-DUSE_SHA1=Builtin
|
|
-DUSE_SHA256=Builtin
|
|
-DUSE_BUNDLED_ZLIB=ON
|
|
-DREGEX_BACKEND=builtin
|
|
-DUSE_HTTP_PARSER=builtin
|
|
INCLUDES
|
|
include
|
|
)
|