mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
Teach `ExternalProject_Add` and `FetchContent_Declare` to resolve relative remote URLs provided via `GIT_REPOSITORY`. Add policy CMP0150 to maintain compatibility. Fixes: #24211 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
8 lines
327 B
ReStructuredText
8 lines
327 B
ReStructuredText
ExternalProject-FetchContent-Relative-git-remotes
|
|
-------------------------------------------------
|
|
|
|
* The :module:`ExternalProject` and :module:`FetchContent` modules
|
|
now resolve relative `GIT_REPOSITORY` paths as relative to the
|
|
parent project's remote, not as a relative local file system path.
|
|
See :policy:`CMP0150`.
|