From 6011b2e74575da9b5306da114ccb30b5fb2f89b4 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Tue, 16 May 2017 14:02:55 -0400 Subject: [PATCH] fix cmake --- paddle/go/pserver/lib/client/test/CMakeLists.txt | 2 +- paddle/go/pserver/lib/client/test/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/go/pserver/lib/client/test/CMakeLists.txt b/paddle/go/pserver/lib/client/test/CMakeLists.txt index d3bb8ee50..895f0f66c 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 a36509b0d..7bf89eddf 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); -- GitLab