Skip to content

Commit

Permalink
fixed mdetection install
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhny007 committed Dec 2, 2021
1 parent 5add01b commit 70664b0
Show file tree
Hide file tree
Showing 145 changed files with 9 additions and 25,880 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.9)

project(MTTracking VERSION 1.0.0)
project(MTTracking VERSION 1.0.1)

unset(CMAKE_C_FLAGS CACHE)
unset(CMAKE_CXX_FLAGS CACHE)
Expand Down
2 changes: 1 addition & 1 deletion async_detector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ endif(BUILD_YOLO_LIB)
ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCES} ${HEADERS})


TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${LIBS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PRIVATE ${LIBS})
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ endif(BUILD_CARS_COUNTING)

ADD_EXECUTABLE(${PROJECT_NAME} ${SOURCES} ${HEADERS})

TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${LIBS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PRIVATE ${LIBS})
4 changes: 2 additions & 2 deletions src/Detector/BaseDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ std::unique_ptr<BaseDetector> BaseDetector::CreateDetector(tracking::Detectors d

if (!detector->Init(config))
detector.reset();
return std::move(detector);
return detector;
}

///
Expand All @@ -103,4 +103,4 @@ std::unique_ptr<BaseDetector> BaseDetector::CreateDetectorKV(tracking::Detectors
}
cv::UMat uframe = gray.getUMat(cv::ACCESS_READ);
return CreateDetector(detectorType, mconfig, uframe);
}
}
4 changes: 2 additions & 2 deletions src/Detector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ if (BUILD_YOLO_TENSORRT)
endif(BUILD_YOLO_TENSORRT)


target_link_libraries(${PROJECT_NAME} ${LIBS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${LIBS})

set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${detector_headers}")
set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${detector_headers};../common/defines.h;../common/object_types.h")
install(TARGETS ${PROJECT_NAME}
EXPORT MTTrackingExports
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
Expand Down
2 changes: 1 addition & 1 deletion src/Detector/MotionDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void MotionDetector::Detect(const cv::UMat& gray)
if (!m_ignoreMask.empty())
cv::bitwise_and(m_fg, m_ignoreMask, m_fg);

DetectContour();
DetectContour();
}

///
Expand Down
2 changes: 1 addition & 1 deletion src/Tracker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ else(CMAKE_COMPILER_IS_GNUCXX)
target_include_directories(${PROJECT_NAME} PRIVATE ${OpenCV_INCLUDE_DIRS})
endif()

target_link_libraries(${PROJECT_NAME} ${LIBS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${LIBS})

set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${tracker_headers};../common/defines.h;../common/object_types.h")
install(TARGETS ${PROJECT_NAME}
Expand Down
20 changes: 0 additions & 20 deletions thirdparty/pybind11/docs/Doxyfile

This file was deleted.

11 changes: 0 additions & 11 deletions thirdparty/pybind11/docs/_static/theme_overrides.css

This file was deleted.

81 changes: 0 additions & 81 deletions thirdparty/pybind11/docs/advanced/cast/chrono.rst

This file was deleted.

91 changes: 0 additions & 91 deletions thirdparty/pybind11/docs/advanced/cast/custom.rst

This file was deleted.

Loading

0 comments on commit 70664b0

Please sign in to comment.