Added check for PGROOT

This commit is contained in:
Andrew Kane
2022-12-23 09:46:07 -08:00
parent 6d4ac36d50
commit 0b1d36bb33

View File

@@ -24,6 +24,9 @@ sql\$(EXTENSION)--$(EXTVERSION).sql: sql\$(EXTENSION).sql
copy sql\$(EXTENSION).sql $@
# TODO use pg_config
!ifndef PGROOT
!error PGROOT is not set
!endif
BINDIR = $(PGROOT)\bin
INCLUDEDIR = $(PGROOT)\include
INCLUDEDIR_SERVER = $(PGROOT)\include\server