OpenCV in ITOM_SDK_INCLUDE_DIRS

Issue #194 resolved
Former user created an issue

In the file cmake/FindITOM_SDK the include directory for OpenCV is appended to ITOM_SDK_INCLUDE_DIRS to be available for DataObject. The include path is set in line 245 as

${OpenCV_DIR}/include

which seems to be correct for Windows but on my Raspberry Pi this results in /usr/share/OpenCV/include instead of /usr/include/OpenCV. The OpenCV cmake config determines the correct include path on Windows and the Raspberry so I would recommend to change the above for:

${OpenCV_INCLUDE_DIRS}

Comments (3)

  1. Log in to comment