summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Codegen.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Codegen.cmake b/cmake/Codegen.cmake
index 702dda2fe3..71be5683b7 100644
--- a/cmake/Codegen.cmake
+++ b/cmake/Codegen.cmake
@@ -48,7 +48,7 @@ configure_file(
# ---[ Installing the header files
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../caffe2
- DESTINATION lib/include
+ DESTINATION include
FILES_MATCHING PATTERN "*.h")
if (BUILD_ATEN_MOBILE)
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/../aten/src/ATen/core
@@ -56,7 +56,7 @@ if (BUILD_ATEN_MOBILE)
FILES_MATCHING PATTERN "*.h")
endif()
install(FILES ${CMAKE_BINARY_DIR}/caffe2/core/macros.h
- DESTINATION lib/include/caffe2/core)
+ DESTINATION include/caffe2/core)
# ---[ ATen specific
if (NOT BUILD_ATEN_MOBILE)