^----------
FOO_ROOT : ''
ENV{FOO_ROOT}: ''
find_package\(Foo\)
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
----------
FOO_ROOT : '/foo/cmake_root'
ENV{FOO_ROOT}: '/foo/env_root'
+
CMake Warning \(dev\) at CMP0144-common.cmake:[0-9]+ \(find_package\):
Policy CMP0144 is not set: find_package uses upper-case _ROOT
variables. Run "cmake --help-policy CMP0144" for policy details\. Use the
cmake_policy command to set the policy and suppress this warning\.
CMake variable FOO_ROOT is set to:
[^
]*/Tests/RunCMake/find_package/PackageRoot/foo/cmake_root
For compatibility, find_package is ignoring the variable, but code in a
\.cmake module might still use it\.
Call Stack \(most recent call first\):
CMP0144-common.cmake:[0-9]+ \(RunTestCase\)
CMP0144-WARN-CaseInsensitive.cmake:[0-9]+ \(include\)
CMakeLists.txt:[0-9]+ \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.
+
find_package\(Foo\)
FOO_TEST_FILE_FOO: /foo/env_root/include/foo.h
FOO_TEST_FILE_ZOT: /foo/env_root/include/zot/zot.h
FOO_TEST_PATH_FOO: /foo/env_root/include
FOO_TEST_PATH_ZOT: /foo/env_root/include/zot
FOO_TEST_PROG_FOO: /foo/env_root/bin/foo.exe
----------
FOO_ROOT : '/foo/cmake_root'
ENV{FOO_ROOT}: ''
find_package\(Foo\)
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
----------
FOO_ROOT : ''
ENV{FOO_ROOT}: '/foo/env_root'
find_package\(Foo\)
FOO_TEST_FILE_FOO: /foo/env_root/include/foo.h
FOO_TEST_FILE_ZOT: /foo/env_root/include/zot/zot.h
FOO_TEST_PATH_FOO: /foo/env_root/include
FOO_TEST_PATH_ZOT: /foo/env_root/include/zot
FOO_TEST_PROG_FOO: /foo/env_root/bin/foo.exe
----------$