Permalink
Browse files

Don't use relative paths in tinyxml.pri.

Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
  • Loading branch information...
1 parent b6391b2 commit a60b933ac776e0a05cb87caf9744ccc7f98092c3 @kimmov kimmov committed Dec 18, 2010
Showing with 7 additions and 6 deletions.
  1. +1 −0 cli/cli.pro
  2. +6 −6 externals/tinyxml/tinyxml.pri
View
@@ -6,6 +6,7 @@ OBJECTS_DIR = temp
CONFIG += warn_on
CONFIG -= qt app_bundle
+BASEPATH = ../externals/tinyxml/
include($$PWD/../externals/tinyxml/tinyxml.pri)
include($$PWD/../lib/lib.pri)
@@ -1,7 +1,7 @@
-HEADERS += ../externals/tinyxml/tinystr.h \
- ../externals/tinyxml/tinyxml.h
-SOURCES += ../externals/tinyxml/tinystr.cpp \
- ../externals/tinyxml/tinyxml.cpp \
- ../externals/tinyxml/tinyxmlerror.cpp \
- ../externals/tinyxml/tinyxmlparser.cpp
+HEADERS += $${BASEPATH}tinystr.h \
+ $${BASEPATH}tinyxml.h
+SOURCES += $${BASEPATH}tinystr.cpp \
+ $${BASEPATH}tinyxml.cpp \
+ $${BASEPATH}tinyxmlerror.cpp \
+ $${BASEPATH}tinyxmlparser.cpp

0 comments on commit a60b933

Please sign in to comment.