diff options
author | Brad King <brad.king@kitware.com> | 2016-10-28 15:33:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-28 19:08:03 (GMT) |
commit | e7480d670b9a20bc5d8b17db5a9427fafb212e85 (patch) | |
tree | 37fc4589a169671c42299a80e7f832a11ade84a1 /Modules/FindCUDA | |
parent | ee0f2d23fcf3cd7a67ad8d7bd132a475ed78405f (diff) | |
download | CMake-e7480d670b9a20bc5d8b17db5a9427fafb212e85.zip CMake-e7480d670b9a20bc5d8b17db5a9427fafb212e85.tar.gz CMake-e7480d670b9a20bc5d8b17db5a9427fafb212e85.tar.bz2 |
Fix custom command target substitution with CROSSCOMPILING_EMULATOR
In commit v3.6.0-rc1~88^2 (CustomCommandGenerator: Add support for
CROSSCOMPILING_EMULATOR, 2016-05-04) logic was introduced to substitute
a target's `CROSSCOMPILING_EMULATOR` for argv0 in a custom command.
However, it broke the case when the argv0 was a target name and now
fails to expand the target name to its location at the same time as
inserting the emulator. Fix the latter case.
Inspired-by: Brian Maher <brian@brimworks.com>
Closes: #16288
Diffstat (limited to 'Modules/FindCUDA')
0 files changed, 0 insertions, 0 deletions