1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

tracking: make opencv_dnn dependancy optional

This commit is contained in:
berak
2017-03-04 12:38:50 +01:00
parent ab63d35db2
commit 43925b60d3
9 changed files with 46 additions and 15 deletions

View File

@@ -234,6 +234,7 @@ int main(int argc, char *argv[])
#else // ! HAVE_OPENCV_DATASETS
#include <opencv2/core.hpp>
int main() {
CV_Error(cv::Error::StsNotImplemented , "this sample needs to be built with opencv_datasets !");
return -1;