summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-15 08:18:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-17 13:30:39 (GMT)
commitc903b5319bfcf383964c625bb84d7bc958aba2e9 (patch)
tree64f66ec7b80ef6ad831a0a5260ddf55ec7c7776b /Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
parent59d3898bc74c950a08b58b885867b7f0d18be8d5 (diff)
downloadCMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.zip
CMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.tar.gz
CMake-c903b5319bfcf383964c625bb84d7bc958aba2e9.tar.bz2
cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808)
Restore support for the undocumented <CONFIG>_LOCATION target property removed by commit v3.0.0-rc1~175^2 (cmTarget: Remove support for <CONFIG>_LOCATION property, 2013-12-30) as part of the CMP0026 OLD behavior.
Diffstat (limited to 'Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
new file mode 100644
index 0000000..0e90f96
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-NEW-stderr.txt
@@ -0,0 +1,11 @@
+CMake Error at CMP0026-LOCATION-CONFIG-NEW.cmake:7 \(get_target_property\):
+ Policy CMP0026 is not set: Disallow use of the LOCATION target property.
+ Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The LOCATION property may not be read from target "somelib". Use the
+ target name directly with add_custom_command, or use the generator
+ expression \$<TARGET_FILE>, as appropriate.
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)