Skip to content

Commit 94d4ded

Browse files
committed
GH-48315: [C++] Use FetchContent for bundled Crc32c
1 parent c1a8255 commit 94d4ded

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3594,11 +3594,7 @@ macro(build_google_cloud_cpp_storage)
35943594
add_dependencies(google_cloud_cpp_dependencies zlib_ep)
35953595
endif()
35963596
add_dependencies(google_cloud_cpp_dependencies crc32c_fc)
3597-
if(NLOHMANN_JSON_VENDORED)
3598-
add_dependencies(google_cloud_cpp_dependencies nlohmann_json_fc)
3599-
else()
3600-
add_dependencies(google_cloud_cpp_dependencies nlohmann_json::nlohmann_json)
3601-
endif()
3597+
add_dependencies(google_cloud_cpp_dependencies nlohmann_json::nlohmann_json)
36023598

36033599
set(GOOGLE_CLOUD_CPP_STATIC_LIBRARY_STORAGE
36043600
"${GOOGLE_CLOUD_CPP_INSTALL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}google_cloud_cpp_storage${CMAKE_STATIC_LIBRARY_SUFFIX}"

0 commit comments

Comments
 (0)