Skip to content

Commit 38da7e2

Browse files
committed
windows: unsigned short pixel type specification in wrong build script
This should be in the primary ITK build script, not the module build script.
1 parent 5be6b31 commit 38da7e2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

scripts/windows_build_module_wheels.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS):
4848
"-DITK_DIR:PATH=%s" % itk_build_path,
4949
"-DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel",
5050
"-DSWIG_EXECUTABLE:FILEPATH=%s/Wrapping/Generators/SwigInterface/swig/bin/swig.exe" % itk_build_path,
51-
"-DITK_WRAP_unsigned_short:BOOL=ON",
5251
"-DBUILD_TESTING:BOOL=OFF",
5352
"-DPYTHON_EXECUTABLE:FILEPATH=%s" % python_executable,
5453
"-DPYTHON_INCLUDE_DIR:PATH=%s" % python_include_dir,

scripts/windows_build_wheels.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def build_wrapped_itk(
8888
"-DITK_BINARY_DIR:PATH=%s" % build_path,
8989
"-DBUILD_TESTING:BOOL=OFF",
9090
"-DPYTHON_EXECUTABLE:FILEPATH=%s" % python_executable,
91+
"-DITK_WRAP_unsigned_short:BOOL=ON",
9192
"-DPYTHON_INCLUDE_DIR:PATH=%s" % python_include_dir,
9293
"-DPYTHON_LIBRARY:FILEPATH=%s" % python_library,
9394
"-DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel",

0 commit comments

Comments
 (0)