File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,7 @@ if(${MKL_VERSION_STR} VERSION_GREATER "11.3.0" OR ${MKL_VERSION_STR} VERSION_EQU
96
96
${MKL_ROOT_DIR} /lib
97
97
${MKL_ROOT_DIR} /lib/${MKL_ARCH} ${MKL_ROOT_DIR} /../tbb/lib/${MKL_ARCH} )
98
98
99
- set (mkl_lib_list
100
- mkl_core
101
- mkl_intel_${MKL_ARCH_SUFFIX} )
99
+ set (mkl_lib_list "mkl_intel_${MKL_ARCH_SUFFIX} " )
102
100
103
101
if (MKL_WITH_TBB )
104
102
list (APPEND mkl_lib_list mkl_tbb_thread tbb )
@@ -111,6 +109,8 @@ if(${MKL_VERSION_STR} VERSION_GREATER "11.3.0" OR ${MKL_VERSION_STR} VERSION_EQU
111
109
else ()
112
110
list (APPEND mkl_lib_list mkl_sequential )
113
111
endif ()
112
+
113
+ list (APPEND mkl_lib_list mkl_core )
114
114
else ()
115
115
message (STATUS "MKL version ${MKL_VERSION_STR} is not supported" )
116
116
mkl_fail ()
Original file line number Diff line number Diff line change 1
1
set (the_description "The Core Functionality" )
2
2
ocv_add_module (core
3
3
"${OPENCV_HAL_LINKER_LIBS} "
4
- PRIVATE_REQUIRED ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES} " "${VA_LIBRARIES} " "${LAPACK_LIBRARIES} "
5
4
OPTIONAL opencv_cudev
6
5
WRAP java python )
7
6
@@ -33,5 +32,7 @@ ocv_glob_module_sources(SOURCES "${OPENCV_MODULE_opencv_core_BINARY_DIR}/version
33
32
ocv_module_include_directories (${the_module} ${ZLIB_INCLUDE_DIRS} ${OPENCL_INCLUDE_DIRS} )
34
33
ocv_create_module (${extra_libs} )
35
34
35
+ ocv_target_link_libraries (${the_module} ${ZLIB_LIBRARIES} "${OPENCL_LIBRARIES} " "${VA_LIBRARIES} " "${LAPACK_LIBRARIES} " )
36
+
36
37
ocv_add_accuracy_tests ()
37
38
ocv_add_perf_tests ()
You can’t perform that action at this time.
0 commit comments