diff --git a/paddle/go/pserver/lib/client/test/CMakeLists.txt b/paddle/go/pserver/lib/client/test/CMakeLists.txt index d3bb8ee50e516129ecbccce0076c1b19516a7608..895f0f66c9028f120be8c8ba782f19b8e3a95912 100644 --- a/paddle/go/pserver/lib/client/test/CMakeLists.txt +++ b/paddle/go/pserver/lib/client/test/CMakeLists.txt @@ -5,4 +5,4 @@ include_directories(/env/gopath/src/github.com/PaddlePaddle/Paddle/paddle/go/pse add_executable(main main.c) add_dependencies(main client) set (CMAKE_EXE_LINKER_FLAGS "-pthread") -target_link_libraries(main /env/gopath/src/github.com/PaddlePaddle/Paddle/paddle/go/pserver/lib/build/client/libclient.a ${GTEST_LIBRARIES}) +target_link_libraries(main /env/gopath/src/github.com/PaddlePaddle/Paddle/paddle/go/pserver/lib/build/client/libclient.a) # ${GTEST_LIBRARIES}) diff --git a/paddle/go/pserver/lib/client/test/main.c b/paddle/go/pserver/lib/client/test/main.c index a36509b0d9f628809ae0fb6fff569ae4c0965235..7bf89eddf93b4eff3faec8f295cfc1484a601768 100644 --- a/paddle/go/pserver/lib/client/test/main.c +++ b/paddle/go/pserver/lib/client/test/main.c @@ -1,6 +1,6 @@ #include "libclient.h" -#include "gtest/gtest.h" +//#include "gtest/gtest.h" int main() { client c = paddle_new_pserver_client(NULL);