diff --git a/CMakeLists.txt b/CMakeLists.txt index b86505703..6b6c4bf72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -779,7 +779,6 @@ set(CUDA_CXX_FLAGS "") if (LLAMA_CUBLAS) set(CUDA_FLAGS -use_fast_math) - list(APPEND CUDA_CXX_FLAGS ${CXX_FLAGS}) if (NOT MSVC) list(APPEND CUDA_CXX_FLAGS -Wno-pedantic) endif()