Skip to content

Commit

Permalink
Fix platform name for macos wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwason committed Jan 19, 2024
1 parent 0f8b83a commit 482925f
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 482925f

Please sign in to comment.