From d8193dddcc43415a64bece6b8c8bd21121ff145d Mon Sep 17 00:00:00 2001 From: nihui Date: Tue, 17 Oct 2017 15:53:05 +0800 Subject: [PATCH] do not fail on opencv 2.x --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2755fea6cce..b8b9477eaf8 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,5 @@ -find_package(OpenCV REQUIRED core highgui imgproc imgcodecs) +find_package(OpenCV QUIET core highgui imgproc imgcodecs) if(NOT OpenCV_FOUND) find_package(OpenCV REQUIRED core highgui imgproc) endif()