fix: 修复linux下的库依赖顺序

This commit is contained in:
liuyiyang
2022-08-09 14:28:38 +08:00
parent 1b96b5f388
commit 010fb49f0c

View File

@@ -36,7 +36,7 @@ else ()
find_package(ZLIB REQUIRED)
target_link_directories(MeoAssistant PRIVATE 3rdparty/lib)
target_link_libraries(MeoAssistant ${OpenCV_LIBS} ${ZLIB})
target_link_libraries(MeoAssistant gflags paddle_inference ppocr protobuf cryptopp glog utf8proc xxhash iomp5 mkldnn mklml_intel)
target_link_libraries(MeoAssistant ppocr paddle_inference protobuf cryptopp gflags glog utf8proc xxhash iomp5 mkldnn mklml_intel)
endif ()
if (BUILD_JNI)