Skip to content

Commit 06752e5

Browse files
committed
Merge pull request #1002 from alalek:fix_mkl_link
2 parents f9b5752 + 6b980ac commit 06752e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/dnn/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ endif()
44

55
set(the_description "Deep neural network module. It allows to load models from different frameworks and to make forward pass")
66

7-
ocv_add_module(dnn opencv_core opencv_imgproc PRIVATE_REQUIRED "${LAPACK_LIBRARIES}" WRAP python matlab)
7+
ocv_add_module(dnn opencv_core opencv_imgproc WRAP python matlab)
88
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-shadow -Wno-parentheses -Wmaybe-uninitialized -Wsign-promo
99
-Wmissing-declarations -Wmissing-prototypes
1010
)
@@ -40,7 +40,7 @@ ocv_source_group("Src\\protobuf" FILES ${PROTOBUF_SRCS} ${PROTOBUF_HDRS})
4040
ocv_module_include_directories(include ${PROTOBUF_INCLUDE_DIR})
4141

4242
ocv_glob_module_sources(${PROTOBUF_SRCS} ${PROTOBUF_HDRS} ${CBLAS_H_PROXY_PATH})
43-
ocv_create_module(${PROTOBUF_LIBRARIES})
43+
ocv_create_module(${PROTOBUF_LIBRARIES} ${LAPACK_LIBRARIES})
4444
ocv_add_samples()
4545
ocv_add_accuracy_tests()
4646
ocv_add_perf_tests()

0 commit comments

Comments
 (0)