From d10c840cfea0e39b3e9b4da6e1180952e2013538 Mon Sep 17 00:00:00 2001 From: johnnyliu2886 Date: Fri, 19 Apr 2024 13:24:24 +0800 Subject: [PATCH] add path for opencv in CMakeLists.txt --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02956828..61d59cdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,6 +108,9 @@ endif() #set(CMAKE_NO_SYSTEM_FROM_IMPORTED true) include_directories(include) +find_package (OpenCV 4.5.5 REQUIRED) +include_directories ("/usr/include/opencv4/") + set(node_plugins "") set(SOURCES