widl: Add IDL installation directory to include path.

This commit is contained in:
Jacek Caban 2012-07-23 11:38:23 +02:00 committed by Alexandre Julliard
parent 19c9d08304
commit 80d3055869
2 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ C_SRCS = \
LEX_SRCS = parser.l
BISON_SRCS = parser.y
EXTRADEFS = -DDEFAULT_INCLUDE_DIR=\"$(includedir)/windows/\"
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
all: $(PROGRAMS)

View File

@ -643,6 +643,10 @@ int main(int argc,char *argv[])
}
}
#ifdef DEFAULT_INCLUDE_DIR
wpp_add_include_path(DEFAULT_INCLUDE_DIR);
#endif
if(do_everything) {
set_everything(TRUE);
}