From 5835407df13ecfd8d313eb2b8fc216f8cfe1f9e5 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Wed, 9 Jul 2014 14:10:37 +0200 Subject: Check for boost header in sysroot The check has to detect if boost header is present in the system we are building for. Change-Id: I700a11df208c8852ba094d8bff387ad21fa309b2 Reviewed-by: Oswald Buddenhagen --- tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/benchmarks') diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index 74544519f3..d194d2b698 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -11,7 +11,7 @@ qtHaveModule(script):!pcre { QT += script } -exists( /usr/include/boost/regex.hpp ){ +exists($$[QT_SYSROOT]/usr/include/boost/regex.hpp) { DEFINES+=HAVE_BOOST LIBS+=-lboost_regex } -- cgit v1.2.3