Add HAVE_OPENCV preprocessor flag

This commit is contained in:
Megamouse 2024-07-19 22:10:40 +02:00
parent 72dc5b3489
commit f16dfd8ca2
3 changed files with 24 additions and 2 deletions

View file

@ -343,6 +343,9 @@ add_subdirectory(miniupnp EXCLUDE_FROM_ALL)
# RTMIDI
add_subdirectory(rtmidi EXCLUDE_FROM_ALL)
# OPENCV
# TODO: add library and -DHAVE_OPENCV
# add nice ALIAS targets for ease of use
if(USE_SYSTEM_LIBUSB)
add_library(3rdparty::libusb ALIAS usb-1.0-shared)