summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/CMP0074-WARN-stderr.txt
blob: c762d92db547d3bd94872a522d1ab64efaae8410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
----------
Foo_ROOT      :<base>/foo/cmake_root
ENV{Foo_ROOT} :<base>/foo/env_root
+
CMake Warning \(dev\) at CMP0074-common.cmake:[0-9]+ \(find_package\):
  Policy CMP0074 is not set: find_package uses PackageName_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable Foo_ROOT is set.

  Environment variable Foo_ROOT is set.

  For compatibility, CMake is ignoring the variable.
Call Stack \(most recent call first\):
  CMP0074-common.cmake:[0-9]+ \(RunPackageRootTest\)
  CMP0074-WARN.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_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

----------