diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-17 12:27:07 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-17 12:27:07 -0700 |
| commit | 56f8c6a462b234def8eda554c4af88aaa0c0f992 (patch) | |
| tree | 7be5a98a249a752864845c0cccec5008e5c8f5aa /ports/sqlite3 | |
| parent | 315ab06f63909cb9db860e1060eb1956eee7cd4c (diff) | |
| download | vcpkg-56f8c6a462b234def8eda554c4af88aaa0c0f992.tar.gz vcpkg-56f8c6a462b234def8eda554c4af88aaa0c0f992.zip | |
[sqlite3] Use SOURCE_PATH in a similar manner as other portfiles
Diffstat (limited to 'ports/sqlite3')
| -rw-r--r-- | ports/sqlite3/portfile.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/sqlite3/portfile.cmake b/ports/sqlite3/portfile.cmake index 36387eb43..6918a0788 100644 --- a/ports/sqlite3/portfile.cmake +++ b/ports/sqlite3/portfile.cmake @@ -1,5 +1,5 @@ include(vcpkg_common_functions) -set(SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR}) +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-3150000) vcpkg_download_distfile(ARCHIVE URLS "https://sqlite.org/2016/sqlite-amalgamation-3150000.zip" FILENAME "sqlite-amalgamation-3150000.zip" @@ -7,10 +7,12 @@ vcpkg_download_distfile(ARCHIVE ) vcpkg_extract_source_archive(${ARCHIVE}) +file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} OPTIONS - -DSOURCE=${CURRENT_BUILDTREES_DIR}/src/sqlite-amalgamation-3150000 + -DSOURCE=${SOURCE_PATH} ) vcpkg_install_cmake() |
