diff options
author | David Cole <david.cole@kitware.com> | 2011-06-02 15:55:09 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-06-02 15:55:09 (GMT) |
commit | 8f0667c1131d41d9f4a31544322530de92d90cb5 (patch) | |
tree | ea9358e3f816472d156f1658adfa603840f8bb68 /Modules/FindLAPACK.cmake | |
parent | 8af1eaf499cb539719fa1698ea3031a70a861728 (diff) | |
download | CMake-8f0667c1131d41d9f4a31544322530de92d90cb5.zip CMake-8f0667c1131d41d9f4a31544322530de92d90cb5.tar.gz CMake-8f0667c1131d41d9f4a31544322530de92d90cb5.tar.bz2 |
BundleUtilities: Avoid a cryptic and unhelpful error message
When the path to "resolved_embedded_item" was shorter than
the path to the bundle being fixed up, fixup_bundle would
fail with a cmake error like:
"string end index: 110 is out of range 0 - 85"
Detect when the path of resolved_embedded_item is too short
to be embedded in the bundle, and report the proper error
message, so the poor developer reading it has a snowball's
chance of actually fixing the issue.
Diffstat (limited to 'Modules/FindLAPACK.cmake')
0 files changed, 0 insertions, 0 deletions