diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-02 10:58:27 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-04-02 10:58:27 +0200 |
commit | 26a475d1b5059f22fbbcea7137c981e95605d5e8 (patch) | |
tree | 9301af96322503c495629baafbac082d8b45173f /test cases/frameworks | |
parent | 570adf09008b6379c786febb56f335a67980cfdf (diff) | |
download | meson-26a475d1b5059f22fbbcea7137c981e95605d5e8.zip meson-26a475d1b5059f22fbbcea7137c981e95605d5e8.tar.gz meson-26a475d1b5059f22fbbcea7137c981e95605d5e8.tar.bz2 |
boost: make python2 optional
Diffstat (limited to 'test cases/frameworks')
-rw-r--r-- | test cases/frameworks/1 boost/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test cases/frameworks/1 boost/meson.build b/test cases/frameworks/1 boost/meson.build index 0bf8b40..501ed29 100644 --- a/test cases/frameworks/1 boost/meson.build +++ b/test cases/frameworks/1 boost/meson.build @@ -22,9 +22,9 @@ notfound = dependency('boost', static: s, modules : ['this_should_not_exist_o assert(not notfound.found()) pymod = import('python') -python2 = pymod.find_installation('python2', required: host_machine.system() == 'linux', disabler: true) +python2 = pymod.find_installation('python2', required: false , disabler: true) python3 = pymod.find_installation('python3', required: host_machine.system() == 'linux', disabler: true) -python2dep = python2.dependency(required: host_machine.system() == 'linux', embed: true, disabler: true) +python2dep = python2.dependency(required: false , embed: true, disabler: true) python3dep = python3.dependency(required: host_machine.system() == 'linux', embed: true, disabler: true) # compile python 2/3 modules only if we found a corresponding python version |