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:
Thomas Wilshaw
2020-10-15 18:59:06 +01:00
parent 33b479b393
commit 70455c1501
4 changed files with 13 additions and 3 deletions
+2
View File
@@ -53,7 +53,9 @@
#include "render/diskmanager.h"
#include "render/pixelformat.h"
#include "render/shaderinfo.h"
#ifdef USE_OTIO
#include "task/project/exportotio/exportotiotask.h"
#endif
#include "task/project/import/import.h"
#include "task/project/import/importerrordialog.h"
#include "task/project/load/load.h"