Skip to content

Commit

Permalink
Fix to include json.hpp only when VISP_HAVE_NLOHMANN_JSON is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 8, 2024
1 parent a0bb711 commit bf30407
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/detection/src/dnn/vpDetectorDNNOpenCV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
#include <opencv2/core/types.hpp> // for Rect, Point, Size
#include <opencv2/dnn/dnn.hpp> // for Net, blobFromImage

#ifdef VISP_HAVE_NLOHMANN_JSON
#include VISP_NLOHMANN_JSON(json.hpp) // for basic_json
#include VISP_NLOHMANN_JSON(json_fwd.hpp) // for json
#endif

#include <visp3/core/vpImageConvert.h> // for vpImageConvert
#include <visp3/core/vpIoTools.h> // for vpIoTools
Expand Down

0 comments on commit bf30407

Please sign in to comment.