Don't give up - boost could be in search path.

pull/3004/head
Benjamin Redelings 7 years ago
parent 80e4ac2d49
commit 8596c36214
  1. 8
      mesonbuild/dependencies/misc.py

@ -139,10 +139,6 @@ class BoostDependency(ExternalDependency):
else:
self.incdir = self.detect_nix_incdir()
if self.incdir is None and mesonlib.for_windows(self.want_cross, self.env):
self.log_fail()
return
if self.check_invalid_modules():
self.log_fail()
return
@ -150,8 +146,10 @@ class BoostDependency(ExternalDependency):
mlog.debug('Boost library root dir is', mlog.bold(self.boost_root))
mlog.debug('Boost include directory is', mlog.bold(self.incdir))
self.lib_modules = {}
# This checks if we can find BOOST headers.
self.detect_version()
self.lib_modules = {}
if self.is_found:
self.detect_lib_modules()
mlog.debug('Boost library directory is', mlog.bold(self.libdir))

Loading…
Cancel
Save