File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,6 @@ option(
1313)
1414mark_as_advanced (ITK_FORBID_DOWNLOADS )
1515
16- #-----------------------------------------------------------------------------
17- # Freeze remote module revisions to prevent git updates. This is useful
18- # during development when working with modified remote modules to prevent
19- # losing local changes during reconfiguration.
20- #
21- option (
22- ITK_FREEZE_REMOTE_MODULES
23- "Do not update remote modules to new revisions during reconfiguration"
24- OFF
25- )
26- mark_as_advanced (ITK_FREEZE_REMOTE_MODULES )
27-
2816macro (itk_download_attempt_check _name )
2917 if (ITK_FORBID_DOWNLOADS)
3018 message (
Original file line number Diff line number Diff line change 11# Function to fetch remote modules.
22
3+ #-----------------------------------------------------------------------------
4+ # Freeze remote module revisions to prevent git updates. This is useful
5+ # during development when working with modified remote modules to prevent
6+ # losing local changes during reconfiguration.
7+ #
8+ option (
9+ ITK_FREEZE_REMOTE_MODULES
10+ "Do not update remote modules to new revisions during reconfiguration"
11+ OFF
12+ )
13+ mark_as_advanced (ITK_FREEZE_REMOTE_MODULES )
14+
315# Helper to perform the initial git clone and checkout.
416function (_git_clone git_executable git_repository git_tag module_dir )
517 execute_process (
You can’t perform that action at this time.
0 commit comments