mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed FreeBSD build. [#CLICKHOUSE-3]
This commit is contained in:
parent
aee25d49a7
commit
53a7abf77e
@ -16,6 +16,6 @@ target_include_directories (gtest INTERFACE ${ClickHouse_SOURCE_DIR}/contrib/goo
|
||||
|
||||
|
||||
macro(grep_gtest_sources BASE_DIR DST_VAR)
|
||||
# not CMake-way
|
||||
execute_process(COMMAND find "${BASE_DIR}" -path "*/tests/gtest*.cpp" -printf "%p;" OUTPUT_VARIABLE ${DST_VAR})
|
||||
# Cold match files that are not in tests/ directories
|
||||
file(GLOB_RECURSE "${DST_VAR}" RELATIVE "${BASE_DIR}" "gtest*.cpp")
|
||||
endmacro()
|
||||
|
Loading…
Reference in New Issue
Block a user