mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
12 lines
287 B
CMake
12 lines
287 B
CMake
add_library(_farmhash
|
|
farmhash.cc
|
|
farmhash.h)
|
|
|
|
if (MSVC)
|
|
target_compile_definitions (_farmhash PRIVATE FARMHASH_NO_BUILTIN_EXPECT=1)
|
|
endif ()
|
|
|
|
target_include_directories (_farmhash BEFORE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
add_library(ch_contrib::farmhash ALIAS _farmhash)
|