File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -228,12 +228,7 @@ if get_option('build_backends')
228
228
endif
229
229
230
230
if get_option (' blas' )
231
- if get_option (' eigen' )
232
- add_project_arguments (' -DUSE_EIGEN' , language : ' cpp' )
233
- has_blas = true
234
- deps += subproject (' eigen' ).get_variable (' eigen_dep' )
235
-
236
- elif get_option (' mkl' ) and mkl_lib.found()
231
+ if get_option (' mkl' ) and mkl_lib.found()
237
232
add_project_arguments (' -DUSE_MKL' , language : ' cpp' )
238
233
includes += include_directories (get_option (' mkl_include' ))
239
234
deps += [ mkl_lib ]
@@ -271,6 +266,11 @@ if get_option('build_backends')
271
266
272
267
deps += [ openblas_lib ]
273
268
has_blas = true
269
+
270
+ elif get_option (' eigen' )
271
+ add_project_arguments (' -DUSE_EIGEN' , language : ' cpp' )
272
+ has_blas = true
273
+ deps += subproject (' eigen' ).get_variable (' eigen_dep' )
274
274
endif
275
275
276
276
ispc = find_program (' ispc' , required : false )
You can’t perform that action at this time.
0 commit comments