summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/tools/qregexp/qregexp.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/tools/qregexp/qregexp.pro')
-rw-r--r--tests/benchmarks/corelib/tools/qregexp/qregexp.pro2
1 files changed, 1 insertions, 1 deletions
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
}