Merge pull request #25845 from kaingwade:orbbecsdk_mac_off

Set using Orbbec SDK on MacOS OFF by default.
This commit is contained in:
Alexander Smorkalov 2024-07-02 14:02:42 +03:00 committed by GitHub
commit 939cb58cd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,5 @@
# --- obsensor ---
if(NOT HAVE_OBSENSOR)
if(APPLE)
# force to use orbbec sdk on mac
set(OBSENSOR_USE_ORBBEC_SDK ON)
endif()
if(OBSENSOR_USE_ORBBEC_SDK)
include(${CMAKE_SOURCE_DIR}/3rdparty/orbbecsdk/orbbecsdk.cmake)
download_orbbec_sdk(ORBBEC_SDK_ROOT_DIR)