Skip to content

Commit 6d0b8a6

Browse files
floklitnyblom
authored andcommitted
src/src.pro: allow overriding SVN_INCLUDE, APR_INCLUDE
1 parent 024b6b5 commit 6d0b8a6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/src.pro

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
# Automatically generated by qmake (2.01a) dim. dc. 23 13:49:28 2007
33
######################################################################
44

5-
SVN_INCLUDE = /usr/include/subversion-1 /usr/local/include/subversion-1
6-
APR_INCLUDE = /usr/include/apr-1.0 /usr/include/apr-1 /usr/local/include/apr-1
5+
if(!defined(SVN_INCLUDE, var)) {
6+
SVN_INCLUDE = /usr/include/subversion-1 /usr/local/include/subversion-1
7+
}
8+
if(!defined(APR_INCLUDE, var)) {
9+
APR_INCLUDE = /usr/include/apr-1.0 /usr/include/apr-1 /usr/local/include/apr-1
10+
}
711
exists(local-config.pri):include(local-config.pri)
812

913
VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)

0 commit comments

Comments
 (0)