vcpkg/ports/unqlite/portfile.cmake

20 lines
589 B
CMake
Raw Normal View History

2020-09-21 11:35:27 +08:00
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO symisc/unqlite
REF ddb1687036d207bbfc67b98cb470fe52ddf22f62 # 1.1.9
SHA512 eaabaf5f35662a6ea734c18878f55f5e6e956cd151bb941321f97247bbe0b7f402ceca39c191d31e87db1c04188ca0eaf69c9b202848babfe23d5ffee48df9a7
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
2020-09-21 11:35:27 +08:00
)
vcpkg_cmake_install()
2020-09-21 11:35:27 +08:00
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2020-09-21 11:35:27 +08:00
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)