Skip to content

Commit 1f5dc5a

Browse files
authored
Merge pull request #206 from InsightSoftwareConsortium/install-path-fix
BUG: Fix library install path on Windows and Linux
2 parents 2735110 + 0b63051 commit 1f5dc5a

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)