Skip to content

Commit

Permalink
Add missing DEPENDS condition
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Jun 18, 2024
1 parent a19c99f commit 31fc54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/YarpPlugins/ArucoCodeDetector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ yarp_prepare_plugin(ArucoCodeDetector
TYPE roboticslab::ArucoCodeDetector
INCLUDE ArucoCodeDetector.hpp
DEFAULT ON
DEPENDS "TARGET opencv_objdetect;YARP_cv_FOUND")
DEPENDS "TARGET opencv_objdetect;OpenCV_VERSION VERSION_GREATER_EQUAL 4.7;YARP_cv_FOUND")

if(NOT SKIP_ArucoCodeDetector)

Expand Down

0 comments on commit 31fc54e

Please sign in to comment.