summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_external_msproject/CustomConfig.cmake
diff options
context:
space:
mode:
authorBeeble <beeble@users.noreply.github.com>2017-04-04 19:13:35 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-05 17:44:03 (GMT)
commit227de0b95d6fd12e47da502ce34e8aea6d57cc43 (patch)
treec08c1f0ac43c53706519b8e51cd3905f1b18a2de /Tests/RunCMake/include_external_msproject/CustomConfig.cmake
parent4cd815f0b314197ddabea94017e0ce8b15836c17 (diff)
downloadCMake-227de0b95d6fd12e47da502ce34e8aea6d57cc43.zip
CMake-227de0b95d6fd12e47da502ce34e8aea6d57cc43.tar.gz
CMake-227de0b95d6fd12e47da502ce34e8aea6d57cc43.tar.bz2
include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>
This allows projects added via `include_external_msproject` to compile the preferred configuration despite different naming conventions.
Diffstat (limited to 'Tests/RunCMake/include_external_msproject/CustomConfig.cmake')
-rw-r--r--Tests/RunCMake/include_external_msproject/CustomConfig.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_external_msproject/CustomConfig.cmake b/Tests/RunCMake/include_external_msproject/CustomConfig.cmake
new file mode 100644
index 0000000..1f935cd
--- /dev/null
+++ b/Tests/RunCMake/include_external_msproject/CustomConfig.cmake
@@ -0,0 +1,3 @@
+include_external_msproject(external external.project
+ GUID aaa-bbb-ccc-000)
+set_target_properties(external PROPERTIES MAP_IMPORTED_CONFIG_RELEASE "Custom - Release")