----------
Foo_ROOT      :
ENV{Foo_ROOT} :
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :FOO_TEST_FILE_FOO-NOTFOUND
FOO_TEST_FILE_ZOT :FOO_TEST_FILE_ZOT-NOTFOUND
FOO_TEST_PATH_FOO :FOO_TEST_PATH_FOO-NOTFOUND
FOO_TEST_PATH_ZOT :FOO_TEST_PATH_ZOT-NOTFOUND
FOO_TEST_PROG_FOO :FOO_TEST_PROG_FOO-NOTFOUND
BAR_CMAKE_FILE    :
BAR_TEST_FILE_FOO :
BAR_TEST_FILE_BAR :
BAR_TEST_FILE_ZOT :
BAR_TEST_PATH_FOO :
BAR_TEST_PATH_BAR :
BAR_TEST_PATH_ZOT :
BAR_TEST_PROG_FOO :
BAR_TEST_PROG_BAR :

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/foo/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/foo/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/foo/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/env_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/env_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/env_root/include
BAR_TEST_PATH_ZOT :<base>/bar/env_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/env_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/foo/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/foo/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/foo/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/env_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/env_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/env_root/include
BAR_TEST_PATH_ZOT :<base>/bar/env_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/env_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/foo/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/foo/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/foo/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/env_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/env_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/env_root/include
BAR_TEST_PATH_ZOT :<base>/bar/env_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/env_root/bin/bar.exe

----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/cmake_root
Bar_DIR       :
Bar_ROOT      :<base>/bar/cmake_root
ENV{Bar_ROOT} :<base>/bar/env_root

find_package\(Foo COMPONENTS BarConfig\)
FOO_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
FOO_TEST_FILE_ZOT :<base>/foo/cmake_root/include/zot/zot.h
FOO_TEST_PATH_FOO :<base>/foo/cmake_root/include
FOO_TEST_PATH_ZOT :<base>/foo/cmake_root/include/zot
FOO_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_CMAKE_FILE    :<base>/foo/cmake_root/cmake/BarConfig.cmake
BAR_TEST_FILE_FOO :<base>/foo/cmake_root/include/foo.h
BAR_TEST_FILE_BAR :<base>/bar/cmake_root/include/bar.h
BAR_TEST_FILE_ZOT :<base>/bar/cmake_root/include/zot/zot.h
BAR_TEST_PATH_FOO :<base>/foo/cmake_root/include
BAR_TEST_PATH_BAR :<base>/bar/cmake_root/include
BAR_TEST_PATH_ZOT :<base>/bar/cmake_root/include/zot
BAR_TEST_PROG_FOO :<base>/foo/cmake_root/bin/foo.exe
BAR_TEST_PROG_BAR :<base>/bar/cmake_root/bin/bar.exe
