Update CMakeLists.txt

This commit is contained in:
Yakov Olkhovskiy 2022-05-09 08:48:51 -04:00 committed by GitHub
parent a2b1f7fe08
commit c8c6deb2ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,3 @@
set (LIBRARY_DIR ${ClickHouse_SOURCE_DIR}/contrib/wyhash)
add_library (wyhash "${LIBRARY_DIR}/wyhash.h")
target_include_directories(wyhash SYSTEM PUBLIC ${LIBRARY_DIR})
add_library (ch_contrib::wyhash ALIAS wyhash)
set_target_properties(wyhash PROPERTIES LINKER_LANGUAGE CXX)
add_library(wyhash INTERFACE)
target_include_directories(wyhash SYSTEM BEFORE INTERFACE "${ClickHouse_SOURCE_DIR}/contrib/wyhash")
add_library(ch_contrib::wyhash ALIAS wyhash)