mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 07:49:01 +08:00
7339aea6f5
* [Many ports] Update to the latest version or commit * [libplist] Update version [libsync] Update patch format * Update as review suggestions * [libplist] Revert changes
25 lines
772 B
CMake
25 lines
772 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO maxmind/libmaxminddb
|
|
REF 07797e9dfb6771190f9fa41a33babe19425ef552 #1.4.3
|
|
SHA512 94f7fbd46a7846c804edad9759ceedf2f7c4b2085430322f74bea5c89f6c3fa0824f154f551119a8c69becec5120650efef89c6d7f5a2ef3df476086070c8c7e
|
|
HEAD_REF master
|
|
PATCHES fix-linux-build.patch
|
|
)
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS_DEBUG
|
|
-DDISABLE_INSTALL_HEADERS=ON
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |