[sqlite-modern-cpp] Update to latest version (contains bugfixes for msvc)

This commit is contained in:
Alexander Karatarakis 2018-06-11 16:18:31 -07:00
parent db3004459f
commit 80f64c24dc
2 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
Source: sqlite-modern-cpp
Version: 3.2
Version: 3.2-e2248fa
Build-Depends: sqlite3
Description: The C++14 wrapper around sqlite library

View File

@ -1,12 +1,13 @@
# header only
include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sqlite_modern_cpp-3.2)
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/aminroosta/sqlite_modern_cpp/archive/v3.2.tar.gz"
FILENAME "sqlite_modern_cpp-3.2.tar.gz"
SHA512 7e54cc41713247c9f6373a441854e8dace8e334e6ee29f870f11bc3fd3b53b5cff4e1a6d4c7e3cda33509b70a3f9a47363922a589b9a6d0730ce6dc0c884d878
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO aminroosta/sqlite_modern_cpp
REF e2248fae15c9e1a240f54d29a148e501f4ea2347
SHA512 89f0ff234e5600ff5f51cb75934fa71d86b51f4e06f1cf4b7cffc0498985120877f8d58bbdbe02fc3cae212acc071a74cd5a3e44fdaf95c3aeaf79338f43fe9d
HEAD_REF master
)
vcpkg_extract_source_archive(${ARCHIVE})
file(INSTALL ${SOURCE_PATH}/hdr/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)