Skip to content

Commit 09c2a8b

Browse files
committed
cmake: fix HAL dependencies for core module
Linker dependencies are transitive for non-private
1 parent be38a52 commit 09c2a8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
set(the_description "The Core Functionality")
22
ocv_add_module(core
3-
PRIVATE_REQUIRED ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES}" "${VA_LIBRARIES}" "${OPENCV_HAL_LINKER_LIBS}"
3+
"${OPENCV_HAL_LINKER_LIBS}"
4+
PRIVATE_REQUIRED ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES}" "${VA_LIBRARIES}"
45
OPTIONAL opencv_cudev
56
WRAP java python)
67

0 commit comments

Comments
 (0)