Skip to content

Commit

Permalink
Add a note to beef up the git clone logic for the release case.
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Sep 24, 2024
1 parent 9f22fe5 commit 54ba5b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions misc/CMake/BRLCAD_EXT_Setup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ function(brlcad_ext_setup)

# If not, next up is a bext dir in the build directory. If
# one doesn't already exist, try to clone it

# TODO - need to use the ls-remote trick from above to first check for a branch
# in bext that corresponds to the current release - if we have one, we should
# be using that. As it stands, old releases will pull the very latest release's
# dependencies with this clone, which may not work. We want this only if there
# isn't a matching versioned release branch.
set(BRLCAD_EXT_SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/bext)
if (NOT EXISTS ${BRLCAD_EXT_SOURCE_DIR})
find_program(GIT_EXEC git REQUIRED)
Expand Down

0 comments on commit 54ba5b6

Please sign in to comment.