wscript: Fix boost detection and thus re-enable gladish build

This commit is contained in:
Nedko Arnaudov 2021-02-14 21:07:44 +02:00
parent 60b6a8eab9
commit 7f88b1609b
1 changed files with 2 additions and 1 deletions

View File

@ -203,9 +203,10 @@ def configure(conf):
if build_gui:
# We need the boost headers package (e.g. libboost-dev)
# shared_ptr.hpp and weak_ptr.hpp
build_gui = conf.check_boost(
conf.check_boost(
mandatory = False,
errmsg="not found, see http://boost.org/")
build_gui = not not conf.env['BOOST_VERSION']
conf.env['BUILD_GLADISH'] = build_gui