cmake : fix incorrect variable reference
This commit is contained in:
parent
a81a34add0
commit
b5b2cdff1d
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ message("-- CUDA host compiler is " ${cuda_ccid} " " ${cuda_ccver})
|
||||||
|
|
||||||
get_flags(${cuda_ccid} ${cuda_ccver})
|
get_flags(${cuda_ccid} ${cuda_ccver})
|
||||||
list(JOIN gf_cxx_flags " " cuda_cxx_flags) # pass host compiler flags as a single argument
|
list(JOIN gf_cxx_flags " " cuda_cxx_flags) # pass host compiler flags as a single argument
|
||||||
if (NOT cuda_host_flags STREQUAL "")
|
if (NOT cuda_cxx_flags STREQUAL "")
|
||||||
set(cuda_flags ${cuda_flags} -Xcompiler ${cuda_cxx_flags})
|
set(cuda_flags ${cuda_flags} -Xcompiler ${cuda_cxx_flags})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue