# Copyright (c) 2019 The STE||AR-Group
#
# SPDX-License-Identifier: BSL-1.0
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

cmake_minimum_required(VERSION 3.6.3 FATAL_ERROR)

set(hashing_headers
  hpx/hashing/fibhash.hpp
  hpx/hashing/jenkins_hash.hpp
)

set(hashing_compat_headers
  hpx/util/fibhash.hpp
  hpx/util/jenkins_hash.hpp
)

set(hashing_sources)

include(HPX_AddModule)
add_hpx_module(hashing
  COMPATIBILITY_HEADERS ON
  DEPRECATION_WARNINGS
  FORCE_LINKING_GEN
  GLOBAL_HEADER_GEN ON
  SOURCES ${hashing_sources}
  HEADERS ${hashing_headers}
  COMPAT_HEADERS ${hashing_compat_headers}
  DEPENDENCIES
    hpx_config
  CMAKE_SUBDIRS examples tests
)
