cmake: fix HAL dependencies for core module

Linker dependencies are transitive for non-private
pull/6709/head
Alexander Alekhin 9 years ago
parent be38a524a8
commit 09c2a8b7ad
  1. 3
      modules/core/CMakeLists.txt

@ -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)

Loading…
Cancel
Save