Skip to content

Commit 0b63051

Browse files
committed
BUG: Fix library install path on Windows and Linux
Followup to 5b055e4 applying library install path fix on Windows and Linux platforms.
1 parent 2735110 commit 0b63051

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/internal/manylinux-build-module-wheels.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ for PYBIN in "${PYBINARIES[@]}"; do
9797
-DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel \
9898
-DSWIG_EXECUTABLE:FILEPATH=${itk_build_dir}/Wrapping/Generators/SwigInterface/swig/bin/swig \
9999
-DCMAKE_CXX_COMPILER_TARGET:STRING=$(uname -m)-linux-gnu \
100+
-DCMAKE_INSTALL_LIBDIR:STRING=lib \
100101
-DBUILD_TESTING:BOOL=OFF \
101102
-DPython3_EXECUTABLE:FILEPATH=${Python3_EXECUTABLE} \
102103
-DPython3_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIR} \

scripts/windows_build_module_wheels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS, cleanup=True, cmake_options=[]):
6969
"-DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel",
7070
"-DSWIG_EXECUTABLE:FILEPATH=%s/Wrapping/Generators/SwigInterface/swig/bin/swig.exe" % itk_build_path,
7171
"-DBUILD_TESTING:BOOL=OFF",
72+
"-DCMAKE_INSTALL_LIBDIR:STRING=lib",
7273
"-DPython3_EXECUTABLE:FILEPATH=%s" % python_executable,
7374
"-DPython3_INCLUDE_DIR:PATH=%s" % python_include_dir,
7475
"-DPython3_INCLUDE_DIRS:PATH=%s" % python_include_dir,

0 commit comments

Comments
 (0)