mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #19443 from asmorkalov:as/guard_nonfree
This commit is contained in:
commit
23734aff74
@ -44,7 +44,7 @@
|
||||
|
||||
namespace opencv_test { namespace {
|
||||
|
||||
#ifdef HAVE_OPENCV_XFEATURES2D
|
||||
#if defined(HAVE_OPENCV_XFEATURES2D) && defined(OPENCV_ENABLE_NONFREE)
|
||||
|
||||
TEST(SurfFeaturesFinder, CanFindInROIs)
|
||||
{
|
||||
@ -74,7 +74,7 @@ TEST(SurfFeaturesFinder, CanFindInROIs)
|
||||
ASSERT_EQ(bad_count, 0);
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_XFEATURES2D
|
||||
#endif // HAVE_OPENCV_XFEATURES2D && OPENCV_ENABLE_NONFREE
|
||||
|
||||
TEST(ParallelFeaturesFinder, IsSameWithSerial)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user