diff --git a/Makefile b/Makefile index 10730aa94..c700dc2fd 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,7 @@ LIBS := -lnanogui DESTDIR := / PREFIX := /usr/local -ifdef GCV_ONLY_X11 -CXXFLAGS += -D_GCV_ONLY_X11 `pkg-config --cflags egl opencv4 glew` -LIBS += `pkg-config --libs egl opencv4 glew` -else -LIBS += `pkg-config --libs egl glfw3 opencv4 glew` -endif +LIBS += `pkg-config --libs glfw3 opencv4 glew` all: release @@ -37,7 +32,6 @@ asan: dirs clean: dirs -export GCV_ONLY_X11 export LDFLAGS export CXXFLAGS export LIBS diff --git a/src/common/subsystems.hpp b/src/common/subsystems.hpp index 1e739c918..c087775ca 100644 --- a/src/common/subsystems.hpp +++ b/src/common/subsystems.hpp @@ -8,7 +8,6 @@ #include #include #include -#include "opencv2/core/va_intel.hpp" #include #define NANOGUI_USE_OPENGL #include