diff options
author | Raul Laasner <raullaasner@gmail.com> | 2018-09-26 15:32:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-26 18:01:39 (GMT) |
commit | 7ab5843c2672c3b6125cbda6c64d5071ac2031bb (patch) | |
tree | 44763c6c910bf6fe82ec83224e0da03be98952c6 /Help/guide/tutorial/Step7/MathFunctions/MathFunctions.h | |
parent | a57225c4fc5cbbf063d86e0f911c552bc0fabb9d (diff) | |
download | CMake-7ab5843c2672c3b6125cbda6c64d5071ac2031bb.zip CMake-7ab5843c2672c3b6125cbda6c64d5071ac2031bb.tar.gz CMake-7ab5843c2672c3b6125cbda6c64d5071ac2031bb.tar.bz2 |
ASM: Search for full path even when using C or C++ compiler
When `CMAKE_{C,CXX}_COMPILER` is set but `CMAKE_ASM*_COMPILER` is
not, we copy the C or C++ compiler to use as the ASM compiler.
In this case we still need to search for the ASM compiler in case
the C or C++ compiler is not known as an absolute path.
Also do not copy the compiler id setting and let the normal detection
take place. The C compiler id may not exist if the language has not
been enabled.
Fixes: #18406
Diffstat (limited to 'Help/guide/tutorial/Step7/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions