ClickHouse/contrib/libmetrohash/CMakeLists.txt

14 lines
327 B
CMake
Raw Normal View History

if (HAVE_SSE42) # Not used. Pretty easy to port.
set (SOURCES_SSE42_ONLY src/metrohash128crc.cpp)
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 PRIVATE ${CMAKE_CURRENT_BINARY_DIR})