Merge pull request #25983 from stepkamipt:4.x

Fix path to 3rdparty cmake.
This commit is contained in:
Alexander Smorkalov 2024-08-02 16:51:26 +03:00 committed by GitHub
commit 95041f5e65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
# --- obsensor ---
if(NOT HAVE_OBSENSOR)
if(OBSENSOR_USE_ORBBEC_SDK)
include(${CMAKE_SOURCE_DIR}/3rdparty/orbbecsdk/orbbecsdk.cmake)
include("${OpenCV_SOURCE_DIR}/3rdparty/orbbecsdk/orbbecsdk.cmake")
download_orbbec_sdk(ORBBEC_SDK_ROOT_DIR)
message(STATUS "ORBBEC_SDK_ROOT_DIR: ${ORBBEC_SDK_ROOT_DIR}")
if(ORBBEC_SDK_ROOT_DIR)