提交 c96b7e80 编写于 作者: L Luo Tao

add missing framework.pb.h and fix string install typo

上级 36353880
...@@ -88,5 +88,6 @@ nv_test(data_device_transform_test SRCS data_device_transform_test.cu ...@@ -88,5 +88,6 @@ nv_test(data_device_transform_test SRCS data_device_transform_test.cu
if(NOT WITH_C_API AND WITH_FLUID) if(NOT WITH_C_API AND WITH_FLUID)
file(GLOB FRAMEWORK_HEADERS *.h) file(GLOB FRAMEWORK_HEADERS *.h)
install(FILES ${FRAMEWORK_HEADERS} DESTINATION include/paddle/framework) 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) install(FILES details/cow_ptr.h details/op_registry.h DESTINATION include/paddle/framework/details)
endif() endif()
...@@ -5,6 +5,6 @@ cc_test(to_string_test SRCS to_string_test.cc) ...@@ -5,6 +5,6 @@ cc_test(to_string_test SRCS to_string_test.cc)
if(NOT WITH_C_API AND WITH_FLUID) if(NOT WITH_C_API AND WITH_FLUID)
file(GLOB STRING_HEADERS *.h) file(GLOB STRING_HEADERS *.h)
install(FILES ${STRING_HEADERS} DESTINATION include/paddle/memory) install(FILES ${STRING_HEADERS} DESTINATION include/paddle/string)
install(FILES tinyformat/tinyformat.h DESTINATION include/paddle/memory/tinyformat) install(FILES tinyformat/tinyformat.h DESTINATION include/paddle/string/tinyformat)
endif() endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册