cmake fetchcontent_setpopulated examples

Signatures

fetchcontent_setpopulated(
  <name>
  [SOURCE_DIR <srcDir>]
  [BINARY_DIR <binDir>]
)

Examples

hypengw/Qcm cmake/flatpak-provider.cmake :276

fetchcontent_setpopulated(
        ${dep_name} SOURCE_DIR "${${dep_name}_SOURCE_DIR}" BINARY_DIR
        "${${dep_name}_BINARY_DIR}")

microsoft/onnxruntime-genai cmake/external/helper_functions.cmake :128

FetchContent_SetPopulated(${__cmake_contentName})