Add OPENSSL_ROOT_DIR to cmake.py (#56846)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/56846
Test Plan: Imported from OSS
Reviewed By: SplitInfinity
Differential Revision: D27992923
Pulled By: pbelevich
fbshipit-source-id: dc2d26d4bc9d17a5da441ae4db8241609ca97c6e
diff --git a/tools/setup_helpers/cmake.py b/tools/setup_helpers/cmake.py
index 61d5481..14a1666 100644
--- a/tools/setup_helpers/cmake.py
+++ b/tools/setup_helpers/cmake.py
@@ -256,7 +256,8 @@
'ONNX_ML',
'ONNX_NAMESPACE',
'ATEN_THREADING',
- 'WERROR')
+ 'WERROR',
+ 'OPENSSL_ROOT_DIR')
})
for var, val in my_env.items():