|
8 | 8 |
|
9 | 9 | set(HUNTER_SKIP_PACKAGE_nlohmann_json OFF) |
10 | 10 | set(BUILD_SHARED_LIBS ON) |
| 11 | +# Set type to canonicalize relative paths for user-provided toolchain |
| 12 | +set(CMAKE_TOOLCHAIN_FILE "" CACHE FILEPATH "CMake toolchain path") |
11 | 13 |
|
12 | 14 | # Create a custom toolchain to pass certain options to dependencies |
13 | 15 | set(gen_toolchain "${CMAKE_CURRENT_BINARY_DIR}/generated/toolchain.cmake") |
@@ -43,7 +45,7 @@ if(WIN32) |
43 | 45 | endif() |
44 | 46 |
|
45 | 47 | # Create depthai project |
46 | | -project(depthai VERSION "2.19.1" LANGUAGES CXX C) |
| 48 | +project(depthai VERSION "2.20.1" LANGUAGES CXX C) |
47 | 49 | get_directory_property(has_parent PARENT_DIRECTORY) |
48 | 50 | if(has_parent) |
49 | 51 | set(DEPTHAI_VERSION ${PROJECT_VERSION} PARENT_SCOPE) |
@@ -204,6 +206,7 @@ add_library(${TARGET_CORE_NAME} |
204 | 206 | src/pipeline/node/XLinkIn.cpp |
205 | 207 | src/pipeline/node/XLinkOut.cpp |
206 | 208 | src/pipeline/node/ColorCamera.cpp |
| 209 | + src/pipeline/node/Camera.cpp |
207 | 210 | src/pipeline/node/MonoCamera.cpp |
208 | 211 | src/pipeline/node/StereoDepth.cpp |
209 | 212 | src/pipeline/node/NeuralNetwork.cpp |
@@ -323,7 +326,7 @@ endif() |
323 | 326 |
|
324 | 327 | # Then get the Depthai device side binaries (local or download) |
325 | 328 | if(DEPTHAI_CMD_PATH OR DEPTHAI_USB2_CMD_PATH OR DEPTHAI_USB2_PATCH_PATH) |
326 | | - # Atleast one of the paths is set. include binaries locally |
| 329 | + # At least one of the paths is set. include binaries locally |
327 | 330 | message(STATUS "Using local Depthai device side binaries...") |
328 | 331 |
|
329 | 332 | DepthaiLocal( |
|
0 commit comments