afdko icon indicating copy to clipboard operation
afdko copied to clipboard

CMake: Switch from ExternalProject to FetchContent

Open LecrisUT opened this issue 9 months ago • 1 comments

The ExternalProject approach causes so many problems especially for downstream packaging because it is harder to override with manually extracted sources. For reference with FetchContent there's FETCHCONTENT_SOURCE_DIR_<PKG_NAME> which can be used to override the download procedure and for downstream packagers we can then apply patches on top of the extracted source.

LecrisUT avatar Jun 03 '25 09:06 LecrisUT

I plan to look at the PRs and try to integrate the spirit of the proposals into the addfeatures branch.

skef avatar Jul 23 '25 09:07 skef