aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xiaofeng@google.com>2016-08-08 13:43:45 -0700
committerGitHub <noreply@github.com>2016-08-08 13:43:45 -0700
commit56b8f44eede93463f7ec4fbecd5bc7dfc8d6d648 (patch)
treec28152a1bd2e7f04a222f89f70c4e9200db9b689
parent32fadc0d4928c5f2d2c76fc4ddc39270673b7fa7 (diff)
parent154e278a2f883deb62deb91e9499bc53539767b2 (diff)
downloadprotobuf-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.cmake2
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