提交 8cb9b780 编写于 作者: W wangguibao

Fix linking issue for CMake 3.3 and above

上级 d75b715f
...@@ -47,7 +47,7 @@ if(WITH_GPU) ...@@ -47,7 +47,7 @@ if(WITH_GPU)
target_link_libraries(serving ${CUDA_LIBRARIES}) target_link_libraries(serving ${CUDA_LIBRARIES})
endif() endif()
target_link_libraries(serving ${MKLML_LIB} ${MKLML_IOMP_LIB} -lpthread target_link_libraries(serving ${MKLML_LIB} ${MKLML_IOMP_LIB} -lpthread
-lcrypto -lm -lrt -lssl -ldl -lz lbz2) -lcrypto -lm -lrt -lssl -ldl -lz -lbz2)
install(TARGETS serving install(TARGETS serving
RUNTIME DESTINATION RUNTIME DESTINATION
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册