diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-03-01 19:56:24 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-03-01 20:01:34 +0100 |
commit | 1d86b70eab359c364eab8220dbf3eac067917bd6 (patch) | |
tree | a1d500653a10de9ed37e63879237119ab91eb5fb | |
parent | 5f329e6206a60a95b58cb9a28591c0cacdde4cd1 (diff) | |
download | qpdf-1d86b70eab359c364eab8220dbf3eac067917bd6.tar.zst |
Tweak include of config for ctest
-rw-r--r-- | qpdf/build.mk | 2 | ||||
-rw-r--r-- | qpdf/qpdf-ctest.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/qpdf/build.mk b/qpdf/build.mk index 36224090..e5f926f1 100644 --- a/qpdf/build.mk +++ b/qpdf/build.mk @@ -26,6 +26,8 @@ TC_SRCS_qpdf = $(wildcard libqpdf/*.cc) $(wildcard qpdf/*.cc) # ----- +XCFLAGS_qpdf_qpdf-ctest := -Ilibqpdf + define use_wmain XCXXFLAGS_qpdf_$(1) := $(WINDOWS_WMAIN_COMPILE) XLDFLAGS_qpdf_$(1) := $(WINDOWS_WMAIN_LINK) diff --git a/qpdf/qpdf-ctest.c b/qpdf/qpdf-ctest.c index 36a50f11..dff7c8c4 100644 --- a/qpdf/qpdf-ctest.c +++ b/qpdf/qpdf-ctest.c @@ -4,7 +4,8 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include "../libqpdf/qpdf/qpdf-config.h" // for LL_FMT + +#include <qpdf/qpdf-config.h> // for LL_FMT -- special case in build static char* whoami = 0; static qpdf_data qpdf = 0; |