Skip to content

Commit b53b308

Browse files
g3forcerhololkeolke
authored andcommitted
Conditionally include apriltag header
1 parent c9333d9 commit b53b308

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/plugins/plugin_visualize.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@
1919
*/
2020
//========================================================================
2121
#include "plugin_visualize.h"
22-
#include <apriltag.h>
2322
#include <opencv2/opencv.hpp>
2423
#include "convex_hull.h"
2524
#include <mutex>
2625
#include <sobel.h>
2726

27+
#ifdef APRILTAG
28+
#include <apriltag.h>
29+
#endif
30+
2831
namespace {
2932
typedef CameraParameters::AdditionalCalibrationInformation AddnlCalibInfo;
3033
} // namespace

0 commit comments

Comments
 (0)