ClickHouse/contrib/libfarmhash/CMakeLists.txt
2021-03-24 23:38:00 +03:00

10 lines
220 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 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})