From 8cb9b7808b2fc1e5e089d8b9f0ec63022fa4f3db Mon Sep 17 00:00:00 2001 From: wangguibao Date: Tue, 2 Jul 2019 11:10:07 +0800 Subject: [PATCH] Fix linking issue for CMake 3.3 and above --- demo-serving/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-serving/CMakeLists.txt b/demo-serving/CMakeLists.txt index fb7abeb5..b90d394b 100644 --- a/demo-serving/CMakeLists.txt +++ b/demo-serving/CMakeLists.txt @@ -47,7 +47,7 @@ if(WITH_GPU) target_link_libraries(serving ${CUDA_LIBRARIES}) endif() 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 RUNTIME DESTINATION -- GitLab