Browse Source

Merge topic 'cmp0200-improvements'

a900e5ec9f CMP0200: "Fix" updated test for policy warning

Acked-by: Kitware Robot <[email protected]>
Tested-by: buildbot <[email protected]>
Merge-request: !11218
Brad King 2 months ago
parent
commit
a5ee4344e1
1 changed files with 12 additions and 0 deletions
  1. 12 0
      Tests/RunCMake/GeneratorExpression/CMP0200-WARN-stderr.txt

+ 12 - 0
Tests/RunCMake/GeneratorExpression/CMP0200-WARN-stderr.txt

@@ -9,3 +9,15 @@ CMake Warning \(dev\) in CMakeLists\.txt:
   policy\.
 
 This warning is for project developers\.  Use -Wno-dev to suppress it\.
+
+CMake Warning \(dev\) in CMakeLists\.txt:
+  Policy CMP0200 is not set: Location and configuration selection for
+  imported targets is more consistent\.  Run "cmake --help-policy CMP0200" for
+  policy details\.  Use the cmake_policy command to set the policy and
+  suppress this warning\.
+
+  Configuration selection for imported target "lib_test2" selected
+  configuration "\(none\)", but would select configuration "[^"]*" under the
+  NEW policy\.
+
+This warning is for project developers\.  Use -Wno-dev to suppress it\.