Update CMakeLists.txt

Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
clibdev 2024-02-18 18:24:50 +02:00 committed by GitHub
parent 9f70b0ed1d
commit 30f15760d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -779,7 +779,6 @@ set(CUDA_CXX_FLAGS "")
if (LLAMA_CUBLAS) if (LLAMA_CUBLAS)
set(CUDA_FLAGS -use_fast_math) set(CUDA_FLAGS -use_fast_math)
list(APPEND CUDA_CXX_FLAGS ${CXX_FLAGS})
if (NOT MSVC) if (NOT MSVC)
list(APPEND CUDA_CXX_FLAGS -Wno-pedantic) list(APPEND CUDA_CXX_FLAGS -Wno-pedantic)
endif() endif()