Skip to content

Commit 0e5254e

Browse files
authored
Merge pull request #3866 from asmorkalov:as/xfeatures_build_fix
xFeatures2d build fix.
2 parents 5a6d80a + 9060b31 commit 0e5254e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace opencv_test { namespace {
1111

1212
static const char* const IMAGE_TSUKUBA = "features2d/tsukuba.png";
13-
#ifdef OPENCV_ENABLE_NONFREE
13+
#if defined(OPENCV_ENABLE_NONFREE) || defined (OPENCV_XFEATURES2D_HAS_VGG_DATA)
1414
static const char* const IMAGE_BIKES = "detectors_descriptors_evaluation/images_datasets/bikes/img1.png";
1515
#endif // OPENCV_ENABLE_NONFREE
1616
// ========================== ROTATION INVARIANCE =============================

0 commit comments

Comments
 (0)