Skip to content
Snippets Groups Projects
Commit fafee7b4 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Allow for no opt flow

parent 1bc79abe
No related branches found
No related tags found
No related merge requests found
Pipeline #16253 passed
add_library(ftloperators
set(OPERSRC
src/smoothing.cpp
src/smoothing.cu
src/mls.cu
......@@ -10,9 +10,14 @@ add_library(ftloperators
src/filling.cu
src/segmentation.cu
src/segmentation.cpp
src/nvopticalflow.cpp
)
if (HAVE_OPTFLOW)
list(APPEND OPERSRC src/nvopticalflow.cpp)
endif()
add_library(ftloperators ${OPERSRC})
# These cause errors in CI build and are being removed from PCL in newer versions
# target_compile_options(ftlrender PUBLIC ${PCL_DEFINITIONS})
......
......@@ -2,7 +2,10 @@
#include "stereovideo.hpp"
#include <ftl/configuration.hpp>
#ifdef HAVE_OPTFLOW
#include <ftl/operators/opticalflow.hpp>
#endif
#include <ftl/threads.hpp>
#include "calibrate.hpp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment