Merge pull request #24478 from CCInc:mingw_fix

Fix MinGW build issue due to obsensor
This commit is contained in:
Alexander Smorkalov 2023-11-02 15:26:43 +03:00 committed by GitHub
commit 7c9231ffba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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