Skip to content

Commit

Permalink
Fix platform name for macos wheel (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason authored Jan 19, 2024
1 parent 0f8b83a commit abefd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_python/cmake/install_build_wheel.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ endif()
endforeach()

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

0 comments on commit abefd17

Please sign in to comment.