mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Own CMake for Abseil
This commit is contained in:
parent
c65607484e
commit
4f441ec131
File diff suppressed because it is too large
Load Diff
@ -27,6 +27,17 @@ set(RE2_SOURCES
|
||||
|
||||
add_library(_re2 ${RE2_SOURCES})
|
||||
target_include_directories(_re2 PUBLIC "${SRC_DIR}")
|
||||
target_link_libraries(_re2 ch_contrib::abseil_str_format)
|
||||
target_link_libraries(_re2 PRIVATE
|
||||
absl::base
|
||||
absl::core_headers
|
||||
absl::fixed_array
|
||||
absl::flat_hash_map
|
||||
absl::flat_hash_set
|
||||
absl::inlined_vector
|
||||
absl::strings
|
||||
absl::str_format
|
||||
absl::synchronization
|
||||
absl::optional
|
||||
absl::span)
|
||||
|
||||
add_library(ch_contrib::re2 ALIAS _re2)
|
||||
|
@ -38,7 +38,7 @@ rm -f CMakeCache.txt
|
||||
# To check it, find and delete them.
|
||||
|
||||
grep -o -P '"contrib/[^"]+"' ../.gitmodules |
|
||||
grep -v -P 'llvm-project|abseil-cpp|grpc|corrosion' |
|
||||
grep -v -P 'llvm-project|grpc|corrosion' |
|
||||
xargs -I@ find ../@ -'(' -name 'CMakeLists.txt' -or -name '*.cmake' -')' -and -not -name '*.h.cmake' |
|
||||
xargs rm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user