FindFreescale.cmake: fixed kernel headers include path

This commit is contained in:
Dmitry 2017-09-23 00:14:12 +07:00
parent c8a8f05e78
commit fbe4a95c7d

View File

@ -7,7 +7,7 @@ mark_as_advanced(BROADCOM_INCLUDE_DIR)
find_path(KERNEL_INCLUDE_DIR
NAMES linux/mxc_v4l2.h
DOC "Kernel include directory"
PATHS /lib/modules/${CMAKE_SYSTEM_VERSION}/build)
PATHS /lib/modules/${CMAKE_SYSTEM_VERSION}/build/include)
mark_as_advanced(KERNEL_INCLUDE_DIR)
find_library(VPU_LIBRARY