File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ if (BLAS_FOUND)
75
75
76
76
message (STATUS "BLAS found, Includes: ${BLAS_INCLUDE_DIRS} " )
77
77
78
- #add_compile_options(${BLAS_LINKER_FLAGS})
79
78
target_compile_options (ggml-blas PRIVATE ${BLAS_LINKER_FLAGS} )
80
79
81
80
if (${BLAS_INCLUDE_DIRS} MATCHES "mkl" AND (${GGML_BLAS_VENDOR} MATCHES "Generic" OR ${GGML_BLAS_VENDOR} MATCHES "Intel" ))
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ if (CUDAToolkit_FOUND)
149
149
list (APPEND CUDA_FLAGS -Xcompiler ${CUDA_CXX_FLAGS_JOINED} )
150
150
endif ()
151
151
152
- add_compile_options ( "$<$<COMPILE_LANGUAGE:CUDA>:${CUDA_FLAGS} >" )
152
+ target_compile_options (ggml-cuda PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:${CUDA_FLAGS} >" )
153
153
else ()
154
154
message (FATAL_ERROR "CUDA Toolkit not found" )
155
155
endif ()
You can’t perform that action at this time.
0 commit comments