summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake
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-OLD.cmake
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-OLD.cmake')
-rw-r--r--Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake
new file mode 100644
index 0000000..482373d
--- /dev/null
+++ b/Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake
@@ -0,0 +1,7 @@
+
+enable_language(CXX)
+
+cmake_policy(SET CMP0026 OLD)
+
+add_library(somelib empty.cpp)
+get_target_property(_loc somelib LOCATION_Debug)