Files
CMake/Tests/RunCMake/CheckModules/CMP0075-stderr.txt
Brad King 2b218883cd Add deprecation warnings for policies CMP0075 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.12 and below to encourage projects to port
away from setting policies to OLD.
2020-10-13 14:36:00 -04:00

62 lines
2.3 KiB
Plaintext

^CMake Warning \(dev\) at [^
]*/Modules/CheckIncludeFile.cmake:[0-9]+ \(message\):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
does_not_exist
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack \(most recent call first\):
CMP0075.cmake:11 \(check_include_file\)
CMakeLists.txt:[0-9]+ \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.
+
CMake Warning \(dev\) at [^
]*/Modules/CheckIncludeFileCXX.cmake:[0-9]+ \(message\):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
does_not_exist
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack \(most recent call first\):
CMP0075.cmake:26 \(check_include_file_cxx\)
CMakeLists.txt:[0-9]+ \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.
+
CMake Warning \(dev\) at [^
]*/Modules/CheckIncludeFiles.cmake:[0-9]+ \(message\):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
CMAKE_REQUIRED_LIBRARIES is set to:
does_not_exist
For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack \(most recent call first\):
CMP0075.cmake:41 \(check_include_files\)
CMakeLists.txt:[0-9]+ \(include\)
This warning is for project developers. Use -Wno-dev to suppress it.
+
CMake Deprecation Warning at CMP0075.cmake:[0-9]+ \(cmake_policy\):
The OLD behavior for policy CMP0075 will be removed from a future version
of CMake.
The cmake-policies\(7\) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$