summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/allow-fallback-config-mapping.rst
diff options
context:
space:
mode:
authorJens Weggemann <jensweh@gmail.com>2016-10-19 01:39:51 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-20 15:51:10 (GMT)
commit149d49ea7c009f9965d9be91cdac8ee6cd2cfb91 (patch)
tree6c30032dfb6c819563174121df090cea9a007258 /Help/release/dev/allow-fallback-config-mapping.rst
parent60d73393a50944c1e81472d7e80a458bcb898554 (diff)
downloadCMake-149d49ea7c009f9965d9be91cdac8ee6cd2cfb91.zip
CMake-149d49ea7c009f9965d9be91cdac8ee6cd2cfb91.tar.gz
CMake-149d49ea7c009f9965d9be91cdac8ee6cd2cfb91.tar.bz2
Teach MAP_IMPORTED_CONFIG_<CONFIG> to support configuration-less import
If this property has an empty list entry, check for `IMPORTED_LOCATION` instead of `IMPORTED_LOCATION_<CONFIG>`. This allows custom imported targets to have some configurations mapped and others fall back to a default location. Closes: #16280
Diffstat (limited to 'Help/release/dev/allow-fallback-config-mapping.rst')
-rw-r--r--Help/release/dev/allow-fallback-config-mapping.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/allow-fallback-config-mapping.rst b/Help/release/dev/allow-fallback-config-mapping.rst
new file mode 100644
index 0000000..2522e10
--- /dev/null
+++ b/Help/release/dev/allow-fallback-config-mapping.rst
@@ -0,0 +1,6 @@
+allow-fallback-config-mapping
+-----------------------------
+
+* The :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` target property learned
+ to interpret empty list elements as referring to the configuration-less
+ imported location specified by :prop_tgt:`IMPORTED_LOCATION`.