cmake: restore canonical git.beafrancois.fr FetchContent URLs
cahute.beafrancois.fr is a host-local alias of one development PC; the
canonical Gitea name is git.beafrancois.fr. Machines where that name
does not resolve to the Gitea host can rewrite it locally with:
git config --global url."ssh://gitea@<host>:8329/".insteadOf \
"ssh://gitea@git.beafrancois.fr:8329/"
This commit is contained in:
@@ -14,7 +14,7 @@ include(FetchContent)
|
||||
set(BSDL_BUILD_CLI OFF CACHE BOOL "" FORCE)
|
||||
set(BSDL_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_Declare(bsdl
|
||||
GIT_REPOSITORY ssh://gitea@cahute.beafrancois.fr:8329/electronics/libbsdl.git
|
||||
GIT_REPOSITORY ssh://gitea@git.beafrancois.fr:8329/electronics/libbsdl.git
|
||||
GIT_TAG main
|
||||
)
|
||||
FetchContent_MakeAvailable(bsdl)
|
||||
@@ -23,7 +23,7 @@ FetchContent_MakeAvailable(bsdl)
|
||||
# Same pattern as libbsdl. Local checkout override:
|
||||
# -DFETCHCONTENT_SOURCE_DIR_SVF=/path/to/libsvf
|
||||
FetchContent_Declare(svf
|
||||
GIT_REPOSITORY ssh://gitea@cahute.beafrancois.fr:8329/electronics/libsvf.git
|
||||
GIT_REPOSITORY ssh://gitea@git.beafrancois.fr:8329/electronics/libsvf.git
|
||||
GIT_TAG main
|
||||
)
|
||||
FetchContent_MakeAvailable(svf)
|
||||
|
||||
Reference in New Issue
Block a user