mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
fbe7df73a2
CONTRIB-254
14 lines
330 B
CMake
14 lines
330 B
CMake
if (HAVE_SSE42) # Not used. Pretty easy to port.
|
|
set (SOURCES_SSE42_ONLY src/metrohash128crc.cpp)
|
|
endif ()
|
|
|
|
add_library(metrohash
|
|
src/metrohash.h
|
|
src/testvector.h
|
|
|
|
src/metrohash64.cpp
|
|
src/metrohash128.cpp
|
|
${SOURCES_SSE42_ONLY})
|
|
|
|
target_include_directories(metrohash PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
|