2020-03-09 23:33:45 +08:00
vcpkg_check_linkage ( ONLY_STATIC_LIBRARY )
vcpkg_from_github (
2023-03-02 02:39:14 +08:00
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O a a p p l e b y / s m h a s h e r
R E F 6 1 a 0 5 3 0 f 2 8 2 7 7 f 2 e 8 5 0 b f c 3 9 6 0 0 c e 6 1 d 0 2 b 5 1 8 d e
S H A 5 1 2 3 6 8 7 7 b 5 3 3 8 6 1 5 3 c 2 0 4 2 1 c c d 3 2 d 5 4 4 c 2 8 e e 7 2 f 6 f 1 3 e a 3 7 c 1 4 a b 1 a 1 d b 3 7 8 f 6 4 6 3 d b 2 8 3 3 9 b 2 1 4 9 6 7 1 c 1 2 6 1 1 3 8 4 4 9 7 b f 5 9 5 b 7 9 8 e 9 9 c 3 4 e a 0 e b c e b 6 f 9 e f 2 f 8 9 0 8 a 2 b 6
H E A D _ R E F m a s t e r
2020-03-09 23:33:45 +08:00
)
2023-03-02 02:39:14 +08:00
configure_file ( "${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY )
configure_file ( "${CURRENT_PORT_DIR}/Config.cmake.in" "${SOURCE_PATH}/Config.cmake.in" COPYONLY )
2020-03-09 23:33:45 +08:00
2023-03-02 02:39:14 +08:00
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2020-03-09 23:33:45 +08:00
)
2023-03-02 02:39:14 +08:00
vcpkg_cmake_install ( )
vcpkg_cmake_config_fixup ( CONFIG_PATH lib/cmake/ ${ PORT } )
2020-03-09 23:33:45 +08:00
vcpkg_copy_pdbs ( )
2023-03-02 02:39:14 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
file ( WRITE "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" "MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author hereby disclaims copyright to this source code." )