I have download version 3.4.6 from this link https://opencv.org/releases.html and contrib from this link https://github.com/opencv/opencv_contrib/releases and I get the following error which stops me from building the project xfeature2d.
my platform: win10 visual studio 2015
CMake Warning at F:/ronaldwork/3rd_source/opencv-3.4.6/cmake/OpenCVModule.cmake:679 (message): Unexpected include: F:/ronaldwork/3rd_source/opencv-3.4.6/builds/downloads/xfeatures2d (module=opencv_xfeatures2d) Call Stack (most recent call first): F:/ronaldwork/3rd_source/opencv-3.4.6/cmake/OpenCVModule.cmake:710 (ocv_target_include_modules) F:/ronaldwork/3rd_source/opencv_contrib-3.4.6/modules/xfeatures2d/CMakeLists.txt:14 (ocv_module_include_directories)