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)
7575
7676 message (STATUS "BLAS found, Includes: ${BLAS_INCLUDE_DIRS} " )
7777
78- #add_compile_options(${BLAS_LINKER_FLAGS})
7978 target_compile_options (ggml-blas PRIVATE ${BLAS_LINKER_FLAGS} )
8079
8180 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)
149149 list (APPEND CUDA_FLAGS -Xcompiler ${CUDA_CXX_FLAGS_JOINED} )
150150 endif ()
151151
152- add_compile_options ( "$<$<COMPILE_LANGUAGE:CUDA>:${CUDA_FLAGS} >" )
152+ target_compile_options (ggml-cuda PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:${CUDA_FLAGS} >" )
153153else ()
154154 message (FATAL_ERROR "CUDA Toolkit not found" )
155155endif ()
You can’t perform that action at this time.
0 commit comments