Skip to content

Commit 98a899e

Browse files
authored
Merge pull request #1910 from rolalaro/fix_apriltag_deactivated
Fix build failure when apriltag is deactivated
2 parents b37feac + cbe39f0 commit 98a899e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ChangeLog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ViSP 3.7.1 (current version)
2121
. [#1899] Installed headers are arch specific
2222
. [#1901] The app visp-calibrate-camera references default-chessboard.cfg and
2323
default-circles.cfg config files that are missing from installation
24+
. [#1909] Fix build failure when apriltag is deactivated
2425
----------------------------------------------
2526
ViSP 3.7.0 (released December 19, 2025)
2627
- Contributors:

apps/calibration/hand-eye/visp-compute-apriltag-poses.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
#include <visp3/core/vpConfig.h>
3838

39-
#if defined(VISP_HAVE_PUGIXML)
39+
#if defined(VISP_HAVE_PUGIXML) && defined(VISP_HAVE_APRILTAG)
4040

4141
#include <visp3/core/vpIoTools.h>
4242
#include <visp3/core/vpXmlParserCamera.h>

modules/detection/test/apriltag-with-dataset/perfApriltagDetection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*/
3737
#include <visp3/core/vpConfig.h>
3838

39-
#if defined(VISP_HAVE_CATCH2)
39+
#if defined(VISP_HAVE_CATCH2) && defined(VISP_HAVE_APRILTAG)
4040

4141
#include <catch_amalgamated.hpp>
4242

0 commit comments

Comments
 (0)