added debian package

This commit is contained in:
2024-12-09 19:30:48 +03:00
parent 3a2901b49c
commit a10271e595
4 changed files with 36 additions and 122 deletions

View File

@@ -112,6 +112,11 @@ if(QT_VERSION_MAJOR EQUAL 6)
qt_finalize_executable(checks-parser)
endif()
if(WIN32)
# set(OPENCV_MAP_IMPORTED_CONFIG "")
set(OpenCV_DIR /usr/local/lib/cmake/opencv4)
# set (OpenCV_DIR /usr/lib/x86_64-linux-gnu/cmake/opencv4)
endif()
find_package(OpenCV REQUIRED)
include_directories( ${OpenCV_INCLUDE_DIRS} )