Skip to content

Commit 3e6e675

Browse files
committed
fixes
1 parent ade4c6d commit 3e6e675

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/python/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
2424
if (CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
25-
set(_arch, "aarch64")
25+
set(_arch "aarch64")
2626
else ()
27-
set(_arch, "x86_64")
27+
set(_arch "x86_64")
2828
endif ()
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

3333
add_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

3939
add_custom_command (COMMAND ${CMAKE_COMMAND} -E copy

0 commit comments

Comments
 (0)