Fix MinGW build issue due to obsensor

This commit is contained in:
Chris Lee 2023-11-01 12:18:09 -06:00
parent c91af16fa7
commit f530a24544

View File

@ -469,7 +469,7 @@ OCV_OPTION(WITH_TIMVX "Include Tim-VX support" OFF
VISIBLE_IF TRUE VISIBLE_IF TRUE
VERIFY HAVE_TIMVX) VERIFY HAVE_TIMVX)
OCV_OPTION(WITH_OBSENSOR "Include obsensor support (Orbbec RGB-D modules: Astra+/Femto)" ON OCV_OPTION(WITH_OBSENSOR "Include obsensor support (Orbbec RGB-D modules: Astra+/Femto)" ON
VISIBLE_IF (WIN32 AND NOT ARM AND NOT WINRT) OR ( UNIX AND NOT APPLE AND NOT ANDROID) VISIBLE_IF (WIN32 AND NOT ARM AND NOT WINRT AND NOT MINGW) OR ( UNIX AND NOT APPLE AND NOT ANDROID)
VERIFY HAVE_OBSENSOR) VERIFY HAVE_OBSENSOR)
OCV_OPTION(WITH_CANN "Include CANN support" OFF OCV_OPTION(WITH_CANN "Include CANN support" OFF
VISIBLE_IF TRUE VISIBLE_IF TRUE