Skip to content
Snippets Groups Projects
Commit 5b304a75 authored by Brad King's avatar Brad King
Browse files

CheckLanguage: Fix forwarding of CMAKE_CUDA_HOST_COMPILER

Fix the condition added by commit fada8cbf (CheckLanguage: Report
CMAKE_CUDA_HOST_COMPILER if needed for compilation, 2019-05-31,
v3.15.0-rc1~12^2) to activate CUDA-specific logic.  The old condition
had worked in our test suite only by accident because the loop variable
used in the test happened to be the name and value that the old
condition used!  Update the test to use a different name.

Fixes: #19013
parent 4c82f309
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment