assignUser commented on issue #33786: URL: https://github.com/apache/arrow/issues/33786#issuecomment-1397736892
The problem is caused here: https://github.com/apache/arrow/blob/f10f5cfd1376fb0e602334588b3f3624d41dee7d/cpp/cmake_modules/ThirdpartyToolchain.cmake#L251-L252 Removing `AND NOT ARG_FORCE_ANY_NEWER_VERSION` fixes this case. Though I don't quite understand the purpose of the arg `FORCE_ANY_NEWER_VERSION` as in the lines above it prevents any version check from happening and a bit further down it is used to double check cmakes default behaviour for version checks (the given version is treated as a minimum version unless `EXACT` is added): https://github.com/apache/arrow/blob/f10f5cfd1376fb0e602334588b3f3624d41dee7d/cpp/cmake_modules/ThirdpartyToolchain.cmake#L263-L267 I think `FORCE_ANY_NEWER_VERSION` can just be removed completely? I will check when it was added. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
