Set using Orbbec SDK on MacOS OFF by default.

pull/25845/head
kaingwade 5 months ago
parent 75339a5528
commit 883faf8871
  1. 5
      modules/videoio/cmake/detect_obsensor.cmake

@ -1,10 +1,5 @@
# --- obsensor --- # --- obsensor ---
if(NOT HAVE_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) if(OBSENSOR_USE_ORBBEC_SDK)
include(${CMAKE_SOURCE_DIR}/3rdparty/orbbecsdk/orbbecsdk.cmake) include(${CMAKE_SOURCE_DIR}/3rdparty/orbbecsdk/orbbecsdk.cmake)
download_orbbec_sdk(ORBBEC_SDK_ROOT_DIR) download_orbbec_sdk(ORBBEC_SDK_ROOT_DIR)

Loading…
Cancel
Save