mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Move version.h to torch/headeronly (#164381)
Differential Revision: [D83685392](https://our.internmc.facebook.com/intern/diff/D83685392) Pull Request resolved: https://github.com/pytorch/pytorch/pull/164381 Approved by: https://github.com/janeyx99
This commit is contained in:
committed by
PyTorch MergeBot
parent
b13cd141b3
commit
f37a6523ef
@ -243,8 +243,8 @@ configure_file("${TORCH_SRC_DIR}/_utils_internal.py"
|
||||
COPYONLY)
|
||||
|
||||
# Generate header with version info
|
||||
configure_file("${TORCH_SRC_DIR}/csrc/api/include/torch/version.h.in"
|
||||
"${TORCH_SRC_DIR}/csrc/api/include/torch/version.h"
|
||||
configure_file("${TORCH_SRC_DIR}/headeronly/version.h.in"
|
||||
"${TORCH_SRC_DIR}/headeronly/version.h"
|
||||
@ONLY)
|
||||
|
||||
set(GENERATED_CXX_TORCH
|
||||
|
Reference in New Issue
Block a user