[nps] only search/link OpenCV if NPS_DEBUG_VIDEO is configured

This commit is contained in:
Felix Ruess
2017-12-29 14:08:45 +01:00
parent 6e391679ca
commit 27124fe32f
2 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ extern "C" {
#include "subsystems/actuators/motor_mixing_types.h"
}
#if defined(NPS_DEBUG_VIDEO) || defined(NPS_DEBUG_STEREOCAM)
#if defined(NPS_DEBUG_VIDEO)
// Opencv tools
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>