mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 06:10:11 +08:00
6cfa934411
* Update libmupdf to 1.19.0-rc2 * Add results of ./vcpkg x-add-version --all * minimize patch * update version * Use 4 spaces rather than 2 Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Remove vcpkg-cmake-config dependency * Run x-add-version Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
32 lines
958 B
CMake
32 lines
958 B
CMake
vcpkg_fail_port_install(ON_TARGET "osx")
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO ArtifexSoftware/mupdf
|
|
REF 61b63d734a7b9df618f6b45dda2466aed442f7f0 # 1.19.0-rc2
|
|
SHA512 16661c012e18ac72b24c46caf5c02515c29a05e0a8dcf95076eff3a1f2e87c225245037480ed37068858fe6e04ff4a404f69877599b208ab9265d054ec117820
|
|
HEAD_REF master
|
|
PATCHES
|
|
dont-generate-extract-3rd-party-things.patch
|
|
use-if-instead-of-ifdef-in-writer.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)
|