cmake: fix HAL dependencies for core module

Linker dependencies are transitive for non-private
This commit is contained in:
Alexander Alekhin 2016-06-21 19:50:32 +03:00
parent be38a524a8
commit 09c2a8b7ad

View File

@ -1,6 +1,7 @@
set(the_description "The Core Functionality")
ocv_add_module(core
PRIVATE_REQUIRED ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES}" "${VA_LIBRARIES}" "${OPENCV_HAL_LINKER_LIBS}"
"${OPENCV_HAL_LINKER_LIBS}"
PRIVATE_REQUIRED ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES}" "${VA_LIBRARIES}"
OPTIONAL opencv_cudev
WRAP java python)