- changed status to resolved
OpenCV in ITOM_SDK_INCLUDE_DIRS
Issue #194
resolved
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)
-
-
fixes issue 194: FindITOM_SDK.cmake correctly sets the OpenCV include directory to ITOM_SDK_INCLUDE_DIRS.
→ <<cset 8401657042e1>>
-
fixes issue 194: FindITOM_SDK.cmake correctly sets the OpenCV include directory to ITOM_SDK_INCLUDE_DIRS.
→ <<cset 2925c03b6194>>
- Log in to comment
fixes issue 194: FindITOM_SDK.cmake correctly sets the OpenCV include directory to ITOM_SDK_INCLUDE_DIRS.
→ <<cset bf5939f60c85>>