From c96b7e8047a9c70a48f9f8e1077187469edfea3e Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Wed, 17 Jan 2018 19:01:37 +0800 Subject: [PATCH] add missing framework.pb.h and fix string install typo --- paddle/framework/CMakeLists.txt | 1 + paddle/string/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index fcfac5a3e68..c514e41e135 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -88,5 +88,6 @@ nv_test(data_device_transform_test SRCS data_device_transform_test.cu if(NOT WITH_C_API AND WITH_FLUID) file(GLOB FRAMEWORK_HEADERS *.h) install(FILES ${FRAMEWORK_HEADERS} DESTINATION include/paddle/framework) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/framework.pb.h DESTINATION include/paddle/framework) install(FILES details/cow_ptr.h details/op_registry.h DESTINATION include/paddle/framework/details) endif() diff --git a/paddle/string/CMakeLists.txt b/paddle/string/CMakeLists.txt index 0fa846c4eda..751776dbb5c 100644 --- a/paddle/string/CMakeLists.txt +++ b/paddle/string/CMakeLists.txt @@ -5,6 +5,6 @@ cc_test(to_string_test SRCS to_string_test.cc) if(NOT WITH_C_API AND WITH_FLUID) file(GLOB STRING_HEADERS *.h) - install(FILES ${STRING_HEADERS} DESTINATION include/paddle/memory) - install(FILES tinyformat/tinyformat.h DESTINATION include/paddle/memory/tinyformat) + install(FILES ${STRING_HEADERS} DESTINATION include/paddle/string) + install(FILES tinyformat/tinyformat.h DESTINATION include/paddle/string/tinyformat) endif() -- GitLab