Explorar o código

fix rasp opencv bug

syyxsxx %!s(int64=5) %!d(string=hai) anos
pai
achega
7e6327f4c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deploy/raspberry/CMakeLists.txt

+ 1 - 1
deploy/raspberry/CMakeLists.txt

@@ -58,7 +58,7 @@ if (WIN32)
   find_package(OpenCV REQUIRED PATHS ${OPENCV_DIR}/build/ NO_DEFAULT_PATH)
   unset(OpenCV_DIR CACHE)
 else ()
-  find_package(OpenCV REQUIRED PATHS ${OPENCV_DIR}/cmake NO_DEFAULT_PATH)
+	find_package(OpenCV REQUIRED PATHS ${OPENCV_DIR}/share/OpenCV NO_DEFAULT_PATH)
 endif ()
 
 include_directories(${OpenCV_INCLUDE_DIRS})