summaryrefslogtreecommitdiff
path: root/c10/hip
diff options
context:
space:
mode:
authorandersj <anderspapitto@gmail.com>2019-01-04 13:45:12 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-01-04 13:48:12 -0800
commit04bf5285896e52ac118d2f9e9b7f582f695f13e2 (patch)
tree96b93ef8a5b9a0dfc5a2299309aa7d6cca1414f6 /c10/hip
parent6adbe12c74efdb60f5a119954ec9d4e2b41a3ac4 (diff)
downloadpytorch-04bf5285896e52ac118d2f9e9b7f582f695f13e2.tar.gz
pytorch-04bf5285896e52ac118d2f9e9b7f582f695f13e2.tar.bz2
pytorch-04bf5285896e52ac118d2f9e9b7f582f695f13e2.zip
remove use of tmp_install
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/14553 Differential Revision: D13583335 Pulled By: anderspapitto fbshipit-source-id: 8711fead9eda877c1037a0bc59f91a3d2e01f3e0
Diffstat (limited to 'c10/hip')
-rw-r--r--c10/hip/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/c10/hip/CMakeLists.txt b/c10/hip/CMakeLists.txt
index 328d21470c..f3a30ca86c 100644
--- a/c10/hip/CMakeLists.txt
+++ b/c10/hip/CMakeLists.txt
@@ -57,7 +57,7 @@ add_subdirectory(test)
# ---[ Installation
install(TARGETS c10_hip EXPORT Caffe2Targets DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
- DESTINATION include
+ DESTINATION lib/include
FILES_MATCHING PATTERN "*.h")
install(FILES ${CMAKE_BINARY_DIR}/c10/hip/impl/hip_cmake_macros.h
- DESTINATION include/c10/hip/impl)
+ DESTINATION lib/include/c10/hip/impl)