8000 cmake : fix incorrect variable reference · Pints-AI/llama.cpp@b5b2cdf · GitHub
[go: up one dir, main page]

Skip to content

Commit b5b2cdf

Browse files
committed
cmake : fix incorrect variable reference
1 parent a81a34a commit b5b2cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ message("-- CUDA host compiler is " ${cuda_ccid} " " ${cuda_ccver})
482482

483483
get_flags(${cuda_ccid} ${cuda_ccver})
484484
list(JOIN gf_cxx_flags " " cuda_cxx_flags) # pass host compiler flags as a single argument
485-
if (NOT cuda_host_flags STREQUAL "")
485+
if (NOT cuda_cxx_flags STREQUAL "")
486486
set(cuda_flags ${cuda_flags} -Xcompiler ${cuda_cxx_flags})
487487
endif()
488488

0 commit comments

Comments
 (0)
0