Skip to content

Commit 011bd3c

Browse files
authored
Merge pull request #2107 from joto/quiet-cmake
Make CMake quiet if opencv ist not found
2 parents 943e419 + 1c40935 commit 011bd3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ include_directories(SYSTEM ${NLOHMANN_INCLUDE_DIR})
211211
find_path(POTRACE_INCLUDE_DIR potracelib.h)
212212
find_library(POTRACE_LIBRARY NAMES potrace)
213213

214-
find_package(OpenCV OPTIONAL_COMPONENTS core imgcodecs imgproc)
214+
find_package(OpenCV QUIET OPTIONAL_COMPONENTS core imgcodecs imgproc)
215215

216216
############### Libraries are found now ########################
217217

0 commit comments

Comments
 (0)