commit c17c260d08613ab46e13dc578104c74b5713a435
parent 23f89562acbd637a23b9f0333877939ad26c0595
Author: falkTX <falktx@falktx.com>
Date: Fri, 8 Oct 2021 01:48:41 +0100
Allow to skip building NanoVG integrated code
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dgl/Makefile b/dgl/Makefile
@@ -62,8 +62,11 @@ endif
# ---------------------------------------------------------------------------------------------------------------------
OBJS_opengl = $(OBJS_common) \
- ../build/dgl/OpenGL.cpp.opengl.o \
- ../build/dgl/NanoVG.cpp.opengl.o
+ ../build/dgl/OpenGL.cpp.opengl.o
+
+ifneq ($(SKIP_NANOVG),true)
+OBJS_opengl += ../build/dgl/NanoVG.cpp.opengl.o
+endif
ifeq ($(MACOS),true)
OBJS_opengl += ../build/dgl/pugl.mm.opengl.o