From 7f95a57844b58ffb0b5d219c23910da0530cc7cd Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 25 Jan 2013 17:03:35 +0100 Subject: produce shorter/nicer source paths Change-Id: Ia71410fdc6ee30192239e9c9efa716cfa811c13e Reviewed-by: Joerg Bornemann --- src/angle/src/config.pri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/angle/src/config.pri') diff --git a/src/angle/src/config.pri b/src/angle/src/config.pri index 4e52358205..fd9fe4cfff 100644 --- a/src/angle/src/config.pri +++ b/src/angle/src/config.pri @@ -3,7 +3,7 @@ ANGLE_DIR = $$(ANGLE_DIR) isEmpty(ANGLE_DIR) { - ANGLE_DIR = $$PWD/../../3rdparty/angle + ANGLE_DIR = $$absolute_path(../../3rdparty/angle) } else { !build_pass:message("Using external ANGLE from $$ANGLE_DIR") } @@ -13,7 +13,7 @@ isEmpty(ANGLE_DIR) { } win32 { - GNUTOOLS_DIR=$$PWD/../../../../gnuwin32/bin + GNUTOOLS_DIR = $$absolute_path(../../../../gnuwin32/bin) exists($$GNUTOOLS_DIR/gperf.exe) { # Escape closing parens when expanding the variable, otherwise cmd confuses itself. GNUTOOLS = "(set PATH=$$replace(GNUTOOLS_DIR, [/\\\\], $${QMAKE_DIR_SEP});%PATH:)=^)%)" -- cgit v1.2.3