aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sqlite3')
-rw-r--r--ports/sqlite3/portfile.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/sqlite3/portfile.cmake b/ports/sqlite3/portfile.cmake
index b9cc6abe3..114a7186f 100644
--- a/ports/sqlite3/portfile.cmake
+++ b/ports/sqlite3/portfile.cmake
@@ -1,18 +1,18 @@
include(vcpkg_common_functions)
+set(SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR})
vcpkg_download_distfile(ARCHIVE
- URL "http://www.sqlite.org/2016/sqlite-amalgamation-3120200.zip"
+ URLS "http://www.sqlite.org/2016/sqlite-amalgamation-3120200.zip"
FILENAME "sqlite-amalgamation-3120200.zip"
- MD5 e3b10b952f075252169ac613068ccc97
+ SHA512 92e1cc09dc4d4e9dd4c189e4a5061664f11971eb3e14c4c59e1f489f201411b08a31dae9e6fc50fffd49bb72f88ac3d99b7c7cd5e334b3079c165ee1c4f5a16e
)
vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
- SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR}
+ SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DSOURCE=${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-3120200
)
-vcpkg_build_cmake()
vcpkg_install_cmake()
file(WRITE ${CURRENT_PACKAGES_DIR}/share/sqlite3/copyright "SQLite is in the Public Domain.\nhttp://www.sqlite.org/copyright.html\n")