mirror of
https://github.com/google-deepmind/alphafold3.git
synced 2026-06-02 11:54:36 +08:00
Force the legacy git backend to prevent build errors with new git versions
PiperOrigin-RevId: 856186746 Change-Id: I447a4a3ab65674da75a908816208a6fe377232ed
This commit is contained in:
committed by
Copybara-Service
parent
d7ab550d1b
commit
2f40800a3a
@@ -9,6 +9,11 @@
|
||||
# https://github.com/google-deepmind/alphafold3/blob/main/WEIGHTS_TERMS_OF_USE.md
|
||||
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
|
||||
# This forces Git to use the 'files' backend for all FetchContent operations.
|
||||
# This fixes libcifpp and dssp incompatibility with newer git versions.
|
||||
set(ENV{GIT_CONFIG_PARAMETERS} "'init.defaultRefFormat=files'")
|
||||
|
||||
project(
|
||||
"${SKBUILD_PROJECT_NAME}"
|
||||
LANGUAGES CXX
|
||||
|
||||
Reference in New Issue
Block a user