mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 20:39:07 +08:00
38acea0c4c
* [freexl] Update to 2.0.0 * Skip tests, examples * [minizip] Build DLL * [libspatialite] Update to 5.1.0 * Fix utf8 source * [spatialite-tools] Update to 5.1.0a * [libkml] Update minizip prefix * [libkml] Fix all minizip names
32 lines
979 B
CMake
32 lines
979 B
CMake
vcpkg_download_distfile(ARCHIVE
|
|
URLS "https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-${VERSION}.tar.gz"
|
|
FILENAME "freexl-${VERSION}.tar.gz"
|
|
SHA512 663ccc321c2f0dcab8ad9255b2a77066c2046d531a0aa723fb114301fa27b53bf980787dd2548c46541036eceef988c5eedf2bec053adf628929470e67ddc17a
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
SOURCE_PATH
|
|
ARCHIVE "${ARCHIVE}"
|
|
PATCHES
|
|
dependencies.patch
|
|
subdirs.patch
|
|
)
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
AUTOCONFIG
|
|
)
|
|
vcpkg_install_make()
|
|
|
|
if(VCPKG_TARGET_IS_WINDOWS)
|
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/freexl.pc" " -lm" " -liconv -lcharset")
|
|
if(NOT DEFINED VCPKG_BUILD_TYPE)
|
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/freexl.pc" " -lm" " -liconv -lcharset")
|
|
endif()
|
|
endif()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|