# - Try to find Clickhouse-Cpp # Once done this will define # CLICKHOUSECPP_FOUND - System has Clickhouse-Cpp # CLICKHOUSECPP_LIBRARIES - The libraries needed to use Clickhouse-Cpp find_package(PkgConfig) find_library(CLICKHOUSECPP_LIBRARY NAMES clickhouse-cpp) include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set CLICKHOUSECPP_FOUND to TRUE # if all listed variables are TRUE find_package_handle_standard_args(CLICKHOUSECPP DEFAULT_MSG CLICKHOUSECPP_LIBRARY) mark_as_advanced(CLICKHOUSECPP_LIBRARY) set(CLICKHOUSECPP_LIBRARIES ${CLICKHOUSECPP_LIBRARY})