[libgxps/wip/nacho/visibility: 5/7] nmake: enable cairo-pdf support if desired



commit 34fd73971d8d07c187f03ad389fe4844903b8ba6
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Sep 9 16:25:05 2016 +0200

    nmake: enable cairo-pdf support if desired
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771057

 nmake/config-msvc.mak |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/nmake/config-msvc.mak b/nmake/config-msvc.mak
index 6f42be0..6e293a7 100644
--- a/nmake/config-msvc.mak
+++ b/nmake/config-msvc.mak
@@ -50,6 +50,11 @@ GXPS_CFLAGS = \
        /I$(PREFIX)\include\libpng
 !endif
 
+# Enable cairo-pdf if desired
+!if "$(CAIRO_PDF)" == "1"
+GXPS_DEFINES = $(GXPS_DEFINES) /DHAVE_CAIRO_PDF=1
+!endif
+
 EXTRA_TARGETS =
 
 GXPS_TESTS =


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]