mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[tinyxml] Modernize and bump control version
This commit is contained in:
parent
7a67785e14
commit
ccff8ab94e
@ -1,3 +1,3 @@
|
||||
Source: tinyxml
|
||||
Version: 2.6.2-2
|
||||
Version: 2.6.2-3
|
||||
Description: A simple, small, minimal, C++ XML parser that can be easily integrating into other programs.
|
||||
|
@ -1,23 +1,22 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/tinyxml)
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://sourceforge.net/projects/tinyxml/files/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz"
|
||||
FILENAME "tinyxml_2_6_2.tar.gz"
|
||||
SHA512 133b5db06131a90ad0c2b39b0063f1c8e65e67288a7e5d67e1f7d9ba32af10dc5dfa0462f9723985ee27debe8f09a10a25d4b5a5aaff2ede979b1cebe8e59d56
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE})
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
ARCHIVE ${ARCHIVE}
|
||||
REF 2.6.2
|
||||
PATCHES
|
||||
0001_use_stl.patch
|
||||
0002_export_tinyxml.patch
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES
|
||||
${CMAKE_CURRENT_LIST_DIR}/0001_use_stl.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/0002_export_tinyxml.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
Loading…
x
Reference in New Issue
Block a user