kou commented on code in PR #34765:
URL: https://github.com/apache/arrow/pull/34765#discussion_r1152800771


##########
cpp/cmake_modules/SetupCxxFlags.cmake:
##########
@@ -115,6 +115,9 @@ elseif(ARROW_CPU_FLAG STREQUAL "aarch64")
   if(ARROW_SIMD_LEVEL STREQUAL "DEFAULT")
     set(ARROW_SIMD_LEVEL "NEON")
   endif()
+  if(APPLE)
+    set(GTest_SOURCE "BUNDLED")
+  endif()

Review Comment:
   We can use `FindXXXAlt.cmake` such as `FindGTestAlt.cmake` to check such 
additional check.
   We can use `FindXXXAlt.cmake` by `resolve_dependency(... HAVE_ALT TRUE)`.



-- 
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]

Reply via email to