mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 06:19:06 +08:00
d6285bc24b
* [expat] Update the version to 2.2.9(support uwp) * [readosm] Fix expat.lib cannot be found * Remove expat:arm-uwp and expat:x64-uwp from fail list in ci.baseline.txt * [apr-util,io2d,skia] Fix expat cannot be found and also update expat * [many ports] Add supports and fix the regressions * Fix new regressions * Fix typo * [io2d] Update expat patch * [io2d,libkml,skia] Fix expat cannot find and also fix typo * [expat] Remove usage * [libkml,vtk] Update expat patch and fix static build * [wxwidgets] Fix static build caused by expat cannot found * Update as review suggestion * Add Port-Version * Remove evpp:x64-osx=fail from ci.baseline.txt * [wxwidgest] Remove unnecessary spaces * [itk] Fix expat cannot be found * fix cmake test port * [wxwidgets] Update Port-Version Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
31 lines
929 B
CMake
31 lines
929 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO libkml/libkml
|
|
REF 1.3.0
|
|
SHA512 aa48158103d3af764bf98c1fb4cf3e1356b9cc6c8e79d80b96850916f0a8ccb1dac3a46427735dd0bf20647daa047d10e722ac3da2a214d4c1559bf6d5d7c853
|
|
HEAD_REF master
|
|
PATCHES
|
|
patch_empty_literal_on_vc.patch
|
|
fix-expat.patch
|
|
)
|
|
|
|
file(REMOVE ${SOURCE_PATH}/cmake/External_boost.cmake)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
|
elseif (VCPKG_TARGET_IS_LINUX)
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libkml)
|
|
elseif (VCPKG_TARGET_IS_OSX)
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/libkml)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |