Skip to content

Commit

Permalink
Merge pull request #2107 from joto/quiet-cmake
Browse files Browse the repository at this point in the history
Make CMake quiet if opencv ist not found
  • Loading branch information
lonvia committed Nov 7, 2023
2 parents 943e419 + 1c40935 commit 011bd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ include_directories(SYSTEM ${NLOHMANN_INCLUDE_DIR})
find_path(POTRACE_INCLUDE_DIR potracelib.h)
find_library(POTRACE_LIBRARY NAMES potrace)

find_package(OpenCV OPTIONAL_COMPONENTS core imgcodecs imgproc)
find_package(OpenCV QUIET OPTIONAL_COMPONENTS core imgcodecs imgproc)

############### Libraries are found now ########################

Expand Down

0 comments on commit 011bd3c

Please sign in to comment.