diff options
author | Beeble <beeble@users.noreply.github.com> | 2017-04-04 19:13:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-05 17:44:03 (GMT) |
commit | 227de0b95d6fd12e47da502ce34e8aea6d57cc43 (patch) | |
tree | c08c1f0ac43c53706519b8e51cd3905f1b18a2de /Tests/RunCMake/include_external_msproject/CustomConfig.cmake | |
parent | 4cd815f0b314197ddabea94017e0ce8b15836c17 (diff) | |
download | CMake-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.cmake | 3 |
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") |