Skip to content

Commit 79d468b

Browse files
committed
Update to newer CMAKE_CXX_COMPILER_VERSION on R / AMD64 Windows C++ RTools 40 ucrt64
1 parent 363a7ce commit 79d468b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3480,9 +3480,8 @@ function(build_google_cloud_cpp_storage)
34803480
# Workaround missing BCRYPT_RSA_ALG_HANDLE macro in older MinGW-w64 headers.
34813481
# google-cloud-cpp v3+ uses it without guards in sign_using_sha256.cc.
34823482
set(GOOGLE_CLOUD_CPP_PATCH_COMMAND)
3483-
if(MINGW AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9")
3484-
# This is for RTools 40. We can remove this after we dropped
3485-
# support for R < 4.2.
3483+
if(MINGW AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11")
3484+
# This is for RTools 40.
34863485
find_program(PATCH patch)
34873486
if(PATCH)
34883487
set(GOOGLE_CLOUD_CPP_PATCH_COMMAND

0 commit comments

Comments
 (0)