mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
rapidhash: Make vendored header available to CMake sources
This commit is contained in:
1 parent
b6837dc4c3
commit
bc23835e45
3 files changed
+18
No files matched your search
@@ -102,6 +102,12 @@ else()
|
||||
CMAKE_SET_TARGET_FOLDER(cmlibrhash "Utilities/3rdParty")
|
||||
endif()
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# rapidhash is a header-only hashing library used to speed up
|
||||
# string-keyed hash tables (e.g. cmDefinitions). No system option is
|
||||
# provided because it has no conventional system package.
|
||||
add_subdirectory(Utilities/cmrapidhash)
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# Build zlib library for Curl, CMake, and CTest.
|
||||
if(CMAKE_USE_SYSTEM_ZLIB)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file LICENSE.rst or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
/* Use the rapidhash library bundled with CMake. */
|
||||
#include <cmrapidhash/rapidhash.h> // IWYU pragma: export
|
||||
@@ -0,0 +1,6 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file LICENSE.rst or https://cmake.org/licensing for details.
|
||||
|
||||
# rapidhash is a header-only library, so there is no library target to build.
|
||||
|
||||
install(FILES LICENSE DESTINATION ${CMake_INSTALL_DOC_DIR}/cmrapidhash)
|
||||
Reference in new issue
Block a user