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


##########
cpp/cmake_modules/ThirdpartyToolchain.cmake:
##########
@@ -3412,53 +3298,18 @@ function(build_crc32c_once)
   set(CRC32C_BUILD_TESTS OFF)
   set(CRC32C_BUILD_BENCHMARKS OFF)
   set(CRC32C_USE_GLOG OFF)
-  set(CRC32C_INSTALL ON)
+  #set(CRC32C_INSTALL OFF)
   fetchcontent_makeavailable(crc32c)
 
+  if(CMAKE_VERSION VERSION_LESS 3.28)
+    set_property(DIRECTORY ${crc32_SOURCE_DIR} PROPERTY EXCLUDE_FROM_ALL TRUE)

Review Comment:
   ```suggestion
       set_property(DIRECTORY ${crc32c_SOURCE_DIR} PROPERTY EXCLUDE_FROM_ALL 
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