diff --git a/vcpkg-overlay/ports/maa-onnxruntime/0006-typo-install-to-bin.patch b/vcpkg-overlay/ports/maa-onnxruntime/0006-typo-install-to-bin.patch new file mode 100644 index 0000000..d2f1536 --- /dev/null +++ b/vcpkg-overlay/ports/maa-onnxruntime/0006-typo-install-to-bin.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/onnxruntime.cmake b/cmake/onnxruntime.cmake +index 59ebf8e..c83e6a2 100644 +--- a/cmake/onnxruntime.cmake ++++ b/cmake/onnxruntime.cmake +@@ -255,7 +255,7 @@ install(TARGETS onnxruntime + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/onnxruntime + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} +- RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + FRAMEWORK DESTINATION ${CMAKE_INSTALL_BINDIR}) + + diff --git a/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake b/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake index e5c48bf..bcf1134 100644 --- a/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake +++ b/vcpkg-overlay/ports/maa-onnxruntime/portfile.cmake @@ -16,6 +16,7 @@ vcpkg_from_github( 0003-cmake-typo.patch 0004-flatbuffers-includes.patch 0005-disable-onnxruntime_mlas_q4dq.patch + 0006-typo-install-to-bin.patch ) vcpkg_find_acquire_program(PYTHON3)