mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
Tests: Make RunCMake.CMP0106 expected output robust to line number changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CMake Error at .*/Modules/Documentation.cmake:15 \(message\):
|
||||
CMake Error at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
|
||||
Documentation.cmake is VTK-specific code and should not be used in non-VTK
|
||||
projects. This logic in this module is best shipped with the project using
|
||||
it rather than with CMake. This is now an error according to policy
|
||||
|
||||
@@ -8,7 +8,7 @@ Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:7 \(include\)
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:27 \(message\):
|
||||
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
|
||||
Policy CMP0106 is not set: The Documentation module is removed. Run "cmake
|
||||
--help-policy CMP0106" for policy details. Use the cmake_policy command to
|
||||
set the policy and suppress this warning.
|
||||
@@ -22,7 +22,7 @@ Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:7 \(include\)
|
||||
This warning is for project developers. Use -Wno-dev to suppress it.
|
||||
|
||||
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:27 \(message\):
|
||||
CMake Warning \(dev\) at .*/Modules/Documentation.cmake:[0-9]+ \(message\):
|
||||
Policy CMP0106 is not set: The Documentation module is removed. Run "cmake
|
||||
--help-policy CMP0106" for policy details. Use the cmake_policy command to
|
||||
set the policy and suppress this warning.
|
||||
|
||||
Reference in New Issue
Block a user