summaryrefslogtreecommitdiff
path: root/external/mysqlcppconn
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-08-12 04:40:19 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-08-12 04:40:19 +0200
commita1bed60da4d3f21cb713e5730e81e08a383dd1fc (patch)
treeaf2b4d439f0351c38964d54530cb9e0132c92388 /external/mysqlcppconn
parent41e4a607b00f446eeaebf8f59c957a1a580c9517 (diff)
mysqlcppconn: when using internal boost, point cmake to it
Change-Id: Ibc6971599be3e4a4b6bd95fabd74c8cacaf350d6
Diffstat (limited to 'external/mysqlcppconn')
-rw-r--r--external/mysqlcppconn/Library_mysqlcppconn.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/external/mysqlcppconn/Library_mysqlcppconn.mk b/external/mysqlcppconn/Library_mysqlcppconn.mk
index 669d84fb9993..1e33370d53c4 100644
--- a/external/mysqlcppconn/Library_mysqlcppconn.mk
+++ b/external/mysqlcppconn/Library_mysqlcppconn.mk
@@ -76,8 +76,12 @@ $(eval $(call gb_Library_add_generated_exception_objects,mysqlcppconn,\
$(WORKDIR)/GenCxxObject/UnpackedTarball/mysqlcppconn/driver/mysql_metadata.o $(WORKDIR)/GenCxxObject/UnpackedTarball/mysqlcppconn/driver/mysql_driver.o: mysqlcppconn_configure
+ifeq ($(SYSTEM_BOOST),)
+MYSQLCPPCONN_BOOST:=-DBOOST_ROOT:STRING=$(call gb_UnpackedTarball_get_dir,boost)
+endif
+
mysqlcppconn_configure: $(call gb_UnpackedTarball_get_target,mysqlcppconn) $(WORKDIR)/GenCxxObject/UnpackedTarball/mysqlcppconn/driver/mysql_util.o
- cd $(WORKDIR)/GenCxxObject/UnpackedTarball/mysqlcppconn && cmake ../../../UnpackedTarball/mysqlcppconn/
+ cd $(WORKDIR)/GenCxxObject/UnpackedTarball/mysqlcppconn && cmake $(MYSQLCPPCONN_BOOST) ../../../UnpackedTarball/mysqlcppconn/
.PHONY: mysqlcppconn_configure