Skip to content

Commit 1c40935

Browse files
committed
Make CMake quiet if opencv ist not found
1 parent 943e419 commit 1c40935

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)