mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:47:59 +08:00
[murmurhash] Installation fix (#11011)
This commit is contained in:
parent
aedd6c30a0
commit
ce08802d88
@ -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}"
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user