Fix building without OTIO support
Added a new CMake flag that stops any OTIO related cpp files being built. Added extra #ifdefs to catch any OTIO related code in other cpp files.
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
|
||||
add_subdirectory(ffmpeg)
|
||||
add_subdirectory(oiio)
|
||||
add_subdirectory(otio)
|
||||
if(OpenTimelineIO_FOUND)
|
||||
add_subdirectory(otio)
|
||||
endif()
|
||||
|
||||
set(OLIVE_SOURCES
|
||||
${OLIVE_SOURCES}
|
||||
|
||||
Reference in New Issue
Block a user