mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixed build [#METR-17973].
This commit is contained in:
parent
c55fbd08dc
commit
5bdfe45415
@ -49,6 +49,6 @@ set_target_properties(re2_st PROPERTIES COMPILE_DEFINITIONS "NO_THREADS;re2=re2_
|
||||
ADD_CUSTOM_COMMAND(
|
||||
TARGET re2_st
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/create_st_headers.sh
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/create_st_headers.sh ARGS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMENT "Creating headers for re2_st library.")
|
||||
|
@ -5,6 +5,6 @@ mkdir -p re2_st
|
||||
|
||||
for i in filtered_re2.h re2.h set.h stringpiece.h variadic_function.h;
|
||||
do
|
||||
cp re2/$i re2_st/$i
|
||||
cp $1/re2/$i re2_st/$i
|
||||
sed -i -r 's/using re2::RE2;//g;s/namespace re2/namespace re2_st/g;s/re2::/re2_st::/g;s/\"re2\//\"re2_st\//g;s/(.*?_H)/\1_ST/g' re2_st/$i;
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user