Skip to content

Commit 56126b0

Browse files
committed
[build] fix: Python_SITEARCH
1 parent d75bf43 commit 56126b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_tools/build_ext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def _build_cmake(self, build_dir: Path, install_dir: Path) -> None:
5757
build_dir,
5858
f"-DPython_EXECUTABLE={sys.executable}",
5959
f"-DPython_INCLUDE_DIR={sysconfig.get_path('include')}",
60+
f"-DPython_SITEARCH={sysconfig.get_path('platlib')}",
6061
f"-DCMAKE_BUILD_TYPE={build_type}",
6162
f"-DCMAKE_INSTALL_PREFIX={install_dir}",
6263
]

0 commit comments

Comments
 (0)