summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorEdward Yang <ezyang@fb.com>2018-08-13 09:11:18 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-08-13 09:25:49 -0700
commit64a6f17177732f459725ff64c6ba7c2db2c94bba (patch)
tree7ccf5aef13dde185cfb009791cca6e6457d1b50b /cmake
parentfa5d95a00c4212381cd9ef4ee26cabad294ee8e0 (diff)
downloadpytorch-64a6f17177732f459725ff64c6ba7c2db2c94bba.tar.gz
pytorch-64a6f17177732f459725ff64c6ba7c2db2c94bba.tar.bz2
pytorch-64a6f17177732f459725ff64c6ba7c2db2c94bba.zip
Fix ATen/core header installation. (#10463)
Summary: Fixes #10353 and fixes #10397. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/10463 Differential Revision: D9296491 Pulled By: ezyang fbshipit-source-id: f825c2a21a113e44a6f5c1c5ec17814d9deac366
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Codegen.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Codegen.cmake b/cmake/Codegen.cmake
index 3829219a93..4e8d226825 100644
--- a/cmake/Codegen.cmake
+++ b/cmake/Codegen.cmake
@@ -22,7 +22,7 @@ install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../caffe2
FILES_MATCHING PATTERN "*.h")
if (NOT BUILD_ATEN)
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../aten/src/ATen/core
- DESTINATION include/ATen/core
+ DESTINATION include/ATen
FILES_MATCHING PATTERN "*.h")
endif()
install(FILES ${CMAKE_BINARY_DIR}/caffe2/core/macros.h