# NOT in ALL: its only route into a build is the umbrella, which is exactly what the
# test asserts. The plain add_dependencies() call, from a directory scope other than
# the one that ran find_package(cmakepip), is the contract cmake-pip promises its
# consumers -- cmake_pip_target exists as soon as the module was found, and
# add_dependencies() carries no directory restriction.
add_custom_target(extra_target
  COMMAND ${CMAKE_COMMAND} -E touch "${CMAKE_BINARY_DIR}/extra_built.stamp"
  COMMENT "a target the project attaches to the umbrella itself")
add_dependencies(cmake_pip_target extra_target)
