File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ set_source_files_properties(${python_srcs} PROPERTIES
2222
2323# choose aarch vs x86_64 based on the current platform
2424if (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64" )
25- set (_arch, "aarch64" )
25+ set (_arch "aarch64" )
2626else ()
27- set (_arch, "x86_64" )
27+ set (_arch "x86_64" )
2828endif ()
2929
3030# Note: this must be kept in sync with `[[tool.cibuildwheel.overrides]]` in pyproject.toml
31- set (_python_build_id, "cp311-manylinux_${_arch} " )
31+ set (_python_build_id "cp311-manylinux_${_arch} " )
3232
3333add_custom_command (COMMAND cd ${CMAKE_SOURCE_DIR} &&
34- cibuildwheel "." --output-dir "${CMAKE_BINARY_DIR} /wheelhouse" --only ${_python_build_id}
34+ cibuildwheel "." --output-dir "${CMAKE_BINARY_DIR} /wheelhouse" --only " ${_python_build_id} "
3535 OUTPUT "${CMAKE_BINARY_DIR} /wheelhouse/OpenImageIO/__init__.pyi"
36- COMMENT "Generating python stubs"
36+ COMMENT "Generating python stubs (using ${_python_build_id} ) "
3737 )
3838
3939add_custom_command (COMMAND ${CMAKE_COMMAND} -E copy
You can’t perform that action at this time.
0 commit comments