From 482925f219fd5e2397e14949cda78aedded46970 Mon Sep 17 00:00:00 2001 From: John Wason Date: Fri, 19 Jan 2024 13:37:16 -0500 Subject: [PATCH] Fix platform name for macos wheel --- tesseract_python/cmake/install_build_wheel.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tesseract_python/cmake/install_build_wheel.cmake.in b/tesseract_python/cmake/install_build_wheel.cmake.in index ef7039d9..97a20551 100644 --- a/tesseract_python/cmake/install_build_wheel.cmake.in +++ b/tesseract_python/cmake/install_build_wheel.cmake.in @@ -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()