ClickHouse/contrib/libmetrohash/CMakeLists.txt

14 lines
352 B
CMake
Raw Normal View History

if (HAVE_SSE42) # Not used. Pretty easy to port.
2019-01-28 14:00:50 +00:00
set (SOURCES_SSE42_ONLY src/metrohash128crc.cpp src/metrohash128crc.h)
2016-12-01 22:44:59 +00:00
endif ()
2016-02-07 21:58:58 +00:00
add_library(metrohash
src/metrohash.h
src/testvector.h
2016-02-07 21:58:58 +00:00
src/metrohash64.cpp
src/metrohash128.cpp
${SOURCES_SSE42_ONLY})
target_include_directories(metrohash PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)