ClickHouse/contrib/libfarmhash/CMakeLists.txt
2018-06-19 21:09:09 +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})