FetchContent & CMP0135


In Professional CMake 17th, I read some stuff about CMP0135. The book and the documentation talk only about ExternalProject_Add(), but not about FetchContent.

And then I found the following ticket :
and the followoing merge request :
both made by @craig.scott

The merge request seems to be done, but as there is no mention of FetchContent in the two documentation sources mentionned above, I was wondering if CMP0135 was considered by FetchContent ?


Yes CMP0135 should apply to FetchContent as well. I’ll take a look at updating the CMP0135 docs to make that clear when I get a chance.

OK, thank you.

Docs are being updated in this merge request: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9470

Thank you !