aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/sqlitecpp
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/sqlitecpp')
-rw-r--r--ports/sqlitecpp/CONTROL2
-rw-r--r--ports/sqlitecpp/portfile.cmake7
2 files changed, 3 insertions, 6 deletions
diff --git a/ports/sqlitecpp/CONTROL b/ports/sqlitecpp/CONTROL
index 8d0fb047e..8f6017a29 100644
--- a/ports/sqlitecpp/CONTROL
+++ b/ports/sqlitecpp/CONTROL
@@ -1,5 +1,5 @@
Source: sqlitecpp
-Version: 2.3.0
+Version: 2.3.0-1
Build-Depends: sqlite3
Homepage: https://github.com/SRombauts/SQLiteCpp
Description: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
diff --git a/ports/sqlitecpp/portfile.cmake b/ports/sqlitecpp/portfile.cmake
index b57573d73..210ca3dd6 100644
--- a/ports/sqlitecpp/portfile.cmake
+++ b/ports/sqlitecpp/portfile.cmake
@@ -7,12 +7,9 @@ vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
REF 09dd10886c560ab5af41cfe694567f34c88cd101
HEAD_REF master
SHA512 d0a440e2e96fca9aac7fe73d46bb6508825a82547dca1e9c93d8c3ca46878fa137e7a2a7a865bcfa641d0236e26307a3342d55fc83578552a37eec7565642d91
-)
-
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/0001-Find-external-sqlite3.patch)
+ 0001-Find-external-sqlite3.patch
+)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}