Fix building WITH_CINEON=OFF
This commit is contained in:
@@ -30,7 +30,6 @@ set(SRC
|
||||
intern/filter.c
|
||||
intern/format_bmp.cc
|
||||
intern/format_dds.cc
|
||||
intern/format_dpx.cc
|
||||
intern/format_hdr.cc
|
||||
intern/format_png.cc
|
||||
intern/format_psd.cc
|
||||
@@ -137,6 +136,9 @@ if(WITH_CODEC_FFMPEG)
|
||||
endif()
|
||||
|
||||
if(WITH_IMAGE_CINEON)
|
||||
list(APPEND SRC
|
||||
intern/format_dpx.cc
|
||||
)
|
||||
list(APPEND LIB
|
||||
bf_imbuf_cineon
|
||||
)
|
||||
|
||||
@@ -81,6 +81,7 @@ const ImFileType IMB_FILE_TYPES[] = {
|
||||
.filetype = IMB_FTYPE_IMAGIC,
|
||||
.default_save_role = COLOR_ROLE_DEFAULT_BYTE,
|
||||
},
|
||||
#ifdef WITH_CINEON
|
||||
{
|
||||
.init = NULL,
|
||||
.exit = NULL,
|
||||
@@ -93,7 +94,6 @@ const ImFileType IMB_FILE_TYPES[] = {
|
||||
.filetype = IMB_FTYPE_DPX,
|
||||
.default_save_role = COLOR_ROLE_DEFAULT_FLOAT,
|
||||
},
|
||||
#ifdef WITH_CINEON
|
||||
{
|
||||
.init = NULL,
|
||||
.exit = NULL,
|
||||
|
||||
Reference in New Issue
Block a user