mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Removed deprecated CMake function #2277
This commit is contained in:
parent
b1b95454cc
commit
f495d8cfa5
@ -8,7 +8,7 @@ add_library(clickhouse-compiler-lib
|
||||
|
||||
target_compile_options(clickhouse-compiler-lib PRIVATE -fno-rtti -fno-exceptions -g0)
|
||||
|
||||
llvm_map_components_to_libraries(REQUIRED_LLVM_LIBRARIES all)
|
||||
llvm_map_components_to_libnames(REQUIRED_LLVM_LIBRARIES all)
|
||||
|
||||
# We link statically with zlib, and LLVM (sometimes) tries to bring its own dependency.
|
||||
list(REMOVE_ITEM REQUIRED_LLVM_LIBRARIES "-lz")
|
||||
|
Loading…
Reference in New Issue
Block a user