Skip to content

Commit

Permalink
FindOpenCV: Fix arguments passed to find_package_handle_standard_args (
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jun 3, 2024
1 parent ab20eb7 commit d36a48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find-modules/FindOpenCV.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if(OpenCV_FOUND)
endif()
endif()

find_package_handle_standard_args(OpenCV DEFAULT_MSG OpenCV_CONFIG)
find_package_handle_standard_args(OpenCV REQUIRED_VARS OpenCV_FOUND CONFIG_MODE)

if(COMMAND set_package_properties)
set_package_properties(OpenCV PROPERTIES DESCRIPTION "Open source computer vision library"
Expand Down

0 comments on commit d36a48f

Please sign in to comment.