Better support for --with-system-boost --with-bost=...

Change-Id: I57ff908d1b44dd2f54f2990389e9dca8cea0f282
This commit is contained in:
Stephan Bergmann 2013-02-16 22:56:19 +01:00
parent 526e152bbe
commit 9320802bf2

View file

@ -505,7 +505,14 @@ $(call gb_LinkTarget_add_libs,$(1),\
endef
gb_LinkTarget__use_boost_headers:=
define gb_LinkTarget__use_boost_headers
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(BOOST_CPPFLAGS) \
)
endef
gb_ExternalProject__use_boost_headers:=
else # !SYSTEM_BOOST