diff --git a/cpp/coverage.sh b/cpp/coverage.sh index 54cf4807037d914b767eae6334b0aefa488b5587..cc509b611b999a51f09acbed8340270a4169ae20 100755 --- a/cpp/coverage.sh +++ b/cpp/coverage.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/milvus/lib + LCOV_CMD="lcov" LCOV_GEN_CMD="genhtml" diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index 6c1bd1277141562548012968f80c16042890d75b..00e2e1e87d52bee259ff39b550b49dc1bd89bf90 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -187,6 +187,6 @@ install(FILES ${CMAKE_BINARY_DIR}/mysqlpp_ep-prefix/src/mysqlpp_ep/lib/${CMAKE_SHARED_LIBRARY_PREFIX}mysqlpp${CMAKE_SHARED_LIBRARY_SUFFIX} ${CMAKE_BINARY_DIR}/mysqlpp_ep-prefix/src/mysqlpp_ep/lib/${CMAKE_SHARED_LIBRARY_PREFIX}mysqlpp${CMAKE_SHARED_LIBRARY_SUFFIX}.3 ${CMAKE_BINARY_DIR}/mysqlpp_ep-prefix/src/mysqlpp_ep/lib/${CMAKE_SHARED_LIBRARY_PREFIX}mysqlpp${CMAKE_SHARED_LIBRARY_SUFFIX}.3.2.4 - DESTINATION bin/lib) #need to copy libmysqlpp.so + DESTINATION lib) #need to copy libmysqlpp.so add_subdirectory(sdk)