[murmurhash] Installation fix (#11011)

This commit is contained in:
kreuzerkrieg 2020-04-27 17:59:52 +03:00 committed by GitHub
parent aedd6c30a0
commit ce08802d88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -9,7 +9,6 @@ add_library(murmurhash
src/MurmurHash2.cpp
src/MurmurHash3.cpp
)
target_include_directories(murmurhash SYSTEM PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/src)
set(MURMUR_HEADERS
src/MurmurHash2.h
@ -29,17 +28,10 @@ set(namespace "${PROJECT_NAME}::")
include(CMakePackageConfigHelpers)
# Configure '<PROJECT-NAME>ConfigVersion.cmake'
# Use:
# * PROJECT_VERSION
write_basic_package_version_file(
"${version_config}" COMPATIBILITY SameMajorVersion
)
# Configure '<PROJECT-NAME>Config.cmake'
# Use variables:
# * TARGETS_EXPORT_NAME
# * PROJECT_NAME
configure_package_config_file(
"${CMAKE_SOURCE_DIR}/Config.cmake.in"
"${project_config}"

View File

@ -1,4 +1,4 @@
Source: murmurhash
Version: 2016-01-09
Version: 2016-01-09-2
Homepage: https://github.com/aappleby/smhasher
Description: MurmurHash a family of hash functions.

View File

@ -18,7 +18,7 @@ vcpkg_configure_cmake(
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)