diff options
Diffstat (limited to 'source/Makefile')
-rw-r--r-- | source/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile index 783b51b81de..a106e655e78 100644 --- a/source/Makefile +++ b/source/Makefile @@ -188,7 +188,11 @@ ifeq ($(WITH_OPENEXR), true) endif ifeq ($(WITH_OPENJPEG), true) - COMLIB += $(OCGDIR)/extern/openjpeg/$(DEBUG_DIR)libopenjpeg.a + ifndef BF_OPENJPEG_LIBS + COMLIB += $(OCGDIR)/extern/openjpeg/$(DEBUG_DIR)libopenjpeg.a + else + COMLIB += $(BF_OPENJPEG_LIBS) + endif endif COMLIB += $(OCGDIR)/blender/imbuf/cineon/$(DEBUG_DIR)libcineon.a |