Skip to content

Commit abefd17

Browse files
authored
Fix platform name for macos wheel (#71)
1 parent 0f8b83a commit abefd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tesseract_python/cmake/install_build_wheel.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif()
1515
endforeach()
1616

1717
elseif(APPLE)
18-
execute_process(COMMAND @PYTHON_EXECUTABLE@ setup.py bdist_wheel WORKING_DIRECTORY python RESULT_VARIABLE STATUS)
18+
execute_process(COMMAND @PYTHON_EXECUTABLE@ setup.py bdist_wheel --plat-name=@TESSERACT_PYTHON_WHEEL_PLATFORM@ WORKING_DIRECTORY python RESULT_VARIABLE STATUS)
1919
if(STATUS AND NOT STATUS EQUAL 0)
2020
message(FATAL_ERROR "Python Build Wheel Failed: ${STATUS}")
2121
endif()

0 commit comments

Comments
 (0)