mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fix clang build (#353)
* Freebsd clang3.8 compile fixes * clean * fix * fix clang build
This commit is contained in:
parent
db0fce346a
commit
f7c0998599
@ -540,6 +540,10 @@ endif()
|
||||
# Example binaries
|
||||
#============================================================================
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
set (CMAKE_EXE_LINKER_FLAGS "")
|
||||
endif ()
|
||||
|
||||
add_executable(example test/example.c)
|
||||
target_link_libraries(example zlib)
|
||||
add_test(example example)
|
||||
|
@ -1,7 +1,7 @@
|
||||
include (${CMAKE_SOURCE_DIR}/cmake/find_readline_edit.cmake)
|
||||
|
||||
add_executable(zkutil_test zkutil_test.cpp)
|
||||
target_link_libraries(zkutil_test zkutil dbms ${READLINE_LIB} ${TERMCAP_LIB})
|
||||
target_link_libraries(zkutil_test zkutil dbms ${LINE_EDITING_LIBS})
|
||||
|
||||
add_executable(zkutil_test_commands zkutil_test_commands.cpp)
|
||||
target_link_libraries(zkutil_test_commands zkutil dbms)
|
||||
|
Loading…
Reference in New Issue
Block a user