Commit 30b17301 authored by Lukas Weber's avatar Lukas Weber
Browse files

correctly handle systems that do not have intel-mkl installed

parent 0a915760
#pragma once #pragma once
#define RNG_BACKEND @rng_backend@ #mesondefine RNG_BACKEND
#define HAVE_INTEL_MKL @have_intel_mkl@ #mesondefine HAVE_INTEL_MKL
...@@ -5,8 +5,8 @@ rng_names = { ...@@ -5,8 +5,8 @@ rng_names = {
} }
conf_data = configuration_data() conf_data = configuration_data()
conf_data.set('rng_backend', rng_names[get_option('rng_backend')]) conf_data.set('RNG_BACKEND', rng_names[get_option('rng_backend')])
conf_data.set('have_intel_mkl', mkl_dep.found()) conf_data.set('HAVE_INTEL_MKL', mkl_dep.found())
configure_file(input : 'config.h.in', configure_file(input : 'config.h.in',
output : 'config.h', output : 'config.h',
install : should_install, install : should_install,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment