mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-07-09 17:25:18 -06:00
Optionally include opencv geometry.hpp if it exists, adding support for opencv 5
This commit is contained in:
parent
d87cf99b65
commit
5c90bf5865
@ -7,6 +7,12 @@
|
||||
|
||||
#ifdef HAVE_OPENCV
|
||||
#include <opencv2/photo.hpp>
|
||||
|
||||
// OpenCV 5.x moved some functions to this header
|
||||
#if __has_include(<opencv2/geometry.hpp>)
|
||||
#include <opencv2/geometry.hpp>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
LOG_CHANNEL(ps_move);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user