Spaces:
Build error
Build error
Download third-party/DPVO/Pangolin/cmake/FindDepthSense.cmake from Form-Fighter/FormFighterAIStack: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/refs%2Fpr%2F6/third-party/DPVO/Pangolin/cmake/FindDepthSense.cmake
- Command line
-
hf download hf://spaces/Form-Fighter/FormFighterAIStack@refs/pr/6/third-party/DPVO/Pangolin/cmake/FindDepthSense.cmake
-
curl -L -o FindDepthSense.cmake https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/refs%2Fpr%2F6/third-party/DPVO/Pangolin/cmake/FindDepthSense.cmake
1.18 kB
| # Try to find the DepthSense SDK For SoftKinetic Cameras | |
| # | |
| # DepthSense_INCLUDE_DIRS | |
| # DepthSense_LIBRARIES | |
| # DepthSense_FOUND | |
| FIND_PATH( DepthSense_INCLUDE_DIR DepthSense.hxx | |
| PATHS | |
| "${PROGRAM_FILES}/SoftKinetic/DepthSenseSDK/include" | |
| "${PROGRAM_FILES}/Meta/DepthSenseSDK/include" | |
| /usr/include | |
| /usr/local/include | |
| /opt/local/include | |
| /opt/softkinetic/DepthSenseSDK/include | |
| ) | |
| FIND_LIBRARY( DepthSense_LIBRARY DepthSense | |
| PATHS | |
| "${PROGRAM_FILES}/SoftKinetic/DepthSenseSDK/lib" | |
| "${PROGRAM_FILES}/Meta/DepthSenseSDK/lib" | |
| /usr/lib64 | |
| /usr/lib | |
| /usr/local/lib | |
| /opt/local/lib | |
| /opt/softkinetic/DepthSenseSDK/lib | |
| ) | |
| IF(DepthSense_INCLUDE_DIR AND DepthSense_LIBRARY) | |
| SET( DepthSense_FOUND TRUE ) | |
| SET( DepthSense_LIBRARIES ${DepthSense_LIBRARY} ) | |
| SET( DepthSense_INCLUDE_DIRS ${DepthSense_INCLUDE_DIR} ) | |
| ENDIF() | |
| IF(DepthSense_FOUND) | |
| IF(NOT DepthSense_FIND_QUIETLY) | |
| MESSAGE(STATUS "Found DepthSense: ${DepthSense_LIBRARY}") | |
| ENDIF() | |
| ELSE() | |
| IF(DepthSense_FIND_REQUIRED) | |
| MESSAGE(FATAL_ERROR "Could not find DepthSense") | |
| ENDIF() | |
| ENDIF() | |