diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-08-08 13:43:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-08 13:43:45 -0700 |
commit | 56b8f44eede93463f7ec4fbecd5bc7dfc8d6d648 (patch) | |
tree | c28152a1bd2e7f04a222f89f70c4e9200db9b689 | |
parent | 32fadc0d4928c5f2d2c76fc4ddc39270673b7fa7 (diff) | |
parent | 154e278a2f883deb62deb91e9499bc53539767b2 (diff) | |
download | protobuf-56b8f44eede93463f7ec4fbecd5bc7dfc8d6d648.tar.gz protobuf-56b8f44eede93463f7ec4fbecd5bc7dfc8d6d648.tar.bz2 protobuf-56b8f44eede93463f7ec4fbecd5bc7dfc8d6d648.zip |
Merge pull request #1842 from udnaan/master
fixed cmake config files install path
-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 |