File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,6 @@ jobs:
321321 BOOST_SOURCE : BUNDLED
322322 CMAKE_CXX_STANDARD : " 17"
323323 CMAKE_GENERATOR : Ninja
324- CMAKE_INSTALL_LIBDIR : bin
325324 CMAKE_INSTALL_PREFIX : /usr
326325 CMAKE_UNITY_BUILD : ON
327326 steps :
Original file line number Diff line number Diff line change @@ -124,6 +124,15 @@ if [ "${ARROW_USE_MESON:-OFF}" = "OFF" ] && \
124124 [ " ${ARROW_EMSCRIPTEN:- OFF} " = " OFF" ] && \
125125 [ " ${ARROW_USE_ASAN:- OFF} " = " OFF" ]; then
126126 CMAKE_PREFIX_PATH=" ${CMAKE_INSTALL_PREFIX:- ${ARROW_HOME} } "
127+ case " $( uname) " in
128+ MINGW* )
129+ # <prefix>/lib/cmake/ isn't searched on Windows.
130+ #
131+ # See also:
132+ # https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
133+ CMAKE_PREFIX_PATH+=" /lib/cmake/"
134+ ;;
135+ esac
127136 if [ -n " ${VCPKG_ROOT} " ] && [ -n " ${VCPKG_TARGET_TRIPLET} " ]; then
128137 CMAKE_PREFIX_PATH+=" ;${VCPKG_ROOT} /installed/${VCPKG_TARGET_TRIPLET} "
129138 fi
You can’t perform that action at this time.
0 commit comments