2020-03-09 23:33:45 +08:00
vcpkg_check_linkage ( ONLY_STATIC_LIBRARY )
vcpkg_from_github (
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
)
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 )
vcpkg_configure_cmake (
S O U R C E _ P A T H $ { S O U R C E _ P A T H }
P R E F E R _ N I N J A
)
vcpkg_install_cmake ( )
2020-04-27 22:59:52 +08:00
vcpkg_fixup_cmake_targets ( CONFIG_PATH lib/cmake/ ${ PORT } )
2020-03-09 23:33:45 +08:00
vcpkg_copy_pdbs ( )
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." )