Thanks for the RCs, Kyle (and the rest of the CMake crew).
I tried 3.15~rc1 and it seems to have been built without https support
file(DOWNLOAD https://foo/bar) gives a status "1;Unsupported protocol". This
is with version 3.15.0~rc1-0kitware2 amd64 running on Bionic.
Version 3.14.5-0kitware1u
So, a couple things:
string(TOUPPER ${lib} lib_upper)
> set(WITH_LIB_${lib_upper}_EXAMPLES "")
>
> This needs to be outside the foreach loop. It's getting reset to empty on
every iteration rather than accumulating results
list(APPEND ${WITH_LIB_${lib_upper}_