diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-15 08:18:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-17 13:30:39 (GMT) |
commit | c903b5319bfcf383964c625bb84d7bc958aba2e9 (patch) | |
tree | 64f66ec7b80ef6ad831a0a5260ddf55ec7c7776b /Tests/RunCMake/CMP0026/CMP0026-LOCATION-CONFIG-OLD.cmake | |
parent | 59d3898bc74c950a08b58b885867b7f0d18be8d5 (diff) | |
download | CMake-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.cmake | 7 |
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) |