mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:39:00 +08:00
8ca0f46acc
* Update libupdf to 1.22.1 * update versions * Update ports/libmupdf/vcpkg.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update ports/libmupdf/vcpkg.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * Update versions * Update versions/l-/libmupdf.json Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> --------- Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
29 lines
827 B
CMake
29 lines
827 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ArtifexSoftware/mupdf
|
|
REF "${VERSION}"
|
|
SHA512 8109630f4dba31ff05458b69626c99ab36ddd47be42c03dd1f3962bf2be5d520be97a1c7e97a72307faa57a96c1ff50e8e3a593c519e47e5eb71897e7e373825
|
|
HEAD_REF master
|
|
PATCHES
|
|
dont-generate-extract-3rd-party-things.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
-DBUILD_EXAMPLES=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(COPY "${SOURCE_PATH}/include/mupdf" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|