2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2017-02-20 22:41:59 +08:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
|
|
URLS "http://gamma.cs.unc.edu/software/downloads/SSV/pqp-1.3.tar.gz"
|
|
|
|
FILENAME "pqp-1.3.tar.gz"
|
|
|
|
SHA512 baad7b050b13a6d13de5110cdec443048a3543b65b0d3b30d1b5f737b46715052661f762ef71345d39978c0c788a30a3a935717664806b4729722ee3594ebdc1
|
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:14 +08:00
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
|
|
|
ARCHIVE "${ARCHIVE}"
|
2019-10-08 01:35:13 +08:00
|
|
|
PATCHES
|
|
|
|
fix-math-functions.patch
|
2017-04-04 18:21:26 +08:00
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:14 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2017-02-20 22:41:59 +08:00
|
|
|
|
2023-03-02 02:39:14 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-02-20 22:41:59 +08:00
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:14 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-02-20 22:41:59 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2023-03-02 02:39:14 +08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|