소스 검색

Point test_plugin at the correct gtest headers.

kenton@google.com 16 년 전
부모
커밋
83ad01e35f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Makefile.am

+ 2 - 0
src/Makefile.am

@@ -344,6 +344,8 @@ nodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs)
 # Test plugin binary.
 test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
                     $(top_builddir)/gtest/lib/libgtest.la
+test_plugin_CPPFLAGS = -I$(top_srcdir)/gtest/include         \
+                       -I$(top_builddir)/gtest/include
 test_plugin_SOURCES =                                          \
   google/protobuf/compiler/mock_code_generator.cc              \
   google/protobuf/testing/file.cc                              \