diff options
author | Adnan <adnan@systemviewinc.com> | 2016-07-25 12:13:53 -0700 |
---|---|---|
committer | Adnan <adnan@systemviewinc.com> | 2016-07-26 12:25:10 -0700 |
commit | 154e278a2f883deb62deb91e9499bc53539767b2 (patch) | |
tree | 0661dd133c5c5d8bed31c8bd0c7cb1b579c2d1ac /cmake/install.cmake | |
parent | ba52f2b6780fa5e6bee86cf7e8ee6f6ba617862c (diff) | |
download | protobuf-154e278a2f883deb62deb91e9499bc53539767b2.tar.gz protobuf-154e278a2f883deb62deb91e9499bc53539767b2.tar.bz2 protobuf-154e278a2f883deb62deb91e9499bc53539767b2.zip |
fixed cmake config files install path
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
Add a script to build protoc zip packages.
[ci skip]
Change-Id: Ia0e0bf3bb6bd24633dc8f294318bb20ac837f8b9
Ruby: translate package names from snake_case -> PascalCase.
Added unit test for PascalCasing package names in Ruby.
Added new file to ruby_EXTRA_DIST.
Diffstat (limited to 'cmake/install.cmake')
-rw-r--r-- | cmake/install.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake index 94ef2198..73e31984 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -110,7 +110,7 @@ install(EXPORT protobuf-targets NAMESPACE protobuf:: COMPONENT protobuf-export) -install(DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_CMAKEDIR}/ +install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_INSTALL_CMAKEDIR}/ DESTINATION "${CMAKE_INSTALL_CMAKEDIR}" COMPONENT protobuf-export PATTERN protobuf-targets.cmake EXCLUDE |