Skip to content

Help: FetchContent: note syntax for list of URL

scivision requested to merge scivision/cmake:fc_doc into master

As noted in #23792 (closed), the surprising behavior of FetchContent_Declare with URL in a list is that the list must be enclosed in quotes. This can be a frustrating gotcha when the first URL in a list usually works, but then it goes down and you didn't know your URL list was only capable of the first list element unless quoted.

Edited by scivision

Merge request reports