Skip to content

Commit

Permalink
sdk/sensor_enumerator_raspberrypi: fix build
Browse files Browse the repository at this point in the history
Signed-off-by: SeptimiuVana <[email protected]>
  • Loading branch information
SeptimiuVana authored and AAndrisa committed Jan 23, 2024
1 parent fe1cc46 commit 1f37b47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions bindings/opencv/maskrcnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 2.8)

project(aditof-opencv-maskrcnn)

if (RASPBERRYPI)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
endif()

add_executable(${PROJECT_NAME} main.cpp)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/mscoco_labels.names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ aditof::Status findDepthSensor(std::string &media, std::string &dev,
}

Status TargetSensorEnumerator::searchSensors() {
Status status = Status::ok;
Status status = Status::OK;
LOG(INFO) << "Looking for sensors on the target: Raspberry PI";

// Find all media device paths
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ aditof::Status findDepthSensor(std::string &media, std::string &dev,
}

Status TargetSensorEnumerator::searchSensors() {
Status status = Status::ok;
Status status = Status::OK;
LOG(INFO) << "Looking for sensors on the target: Raspberry PI";

// Find all media device paths
Expand Down

0 comments on commit 1f37b47

Please sign in to comment.