ClickHouse/contrib/libfarmhash/CMakeLists.txt

12 lines
287 B
CMake
Raw Normal View History

2022-01-17 19:16:12 +00:00
add_library(_farmhash
farmhash.cc
farmhash.h)
if (MSVC)
2022-01-17 19:16:12 +00:00
target_compile_definitions (_farmhash PRIVATE FARMHASH_NO_BUILTIN_EXPECT=1)
endif ()
2022-01-17 19:16:12 +00:00
target_include_directories (_farmhash BEFORE PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
add_library(ch_contrib::farmhash ALIAS _farmhash)