diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-02-08 23:55:50 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-02-08 23:55:50 -0800 |
| commit | ddab90208a59a173e07754cb2a0c6a53f17e8f7c (patch) | |
| tree | 32677eaa7654eb7792ad6d26d7cae6ed122413c1 /ports/sqlite-modern-cpp | |
| parent | 0bbae46a9cae7edcee9fe613d1f59e4c20af8af6 (diff) | |
| download | vcpkg-ddab90208a59a173e07754cb2a0c6a53f17e8f7c.tar.gz vcpkg-ddab90208a59a173e07754cb2a0c6a53f17e8f7c.zip | |
[sqlite-modern-cpp] Avoid moving downloaded file
Diffstat (limited to 'ports/sqlite-modern-cpp')
| -rw-r--r-- | ports/sqlite-modern-cpp/portfile.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/sqlite-modern-cpp/portfile.cmake b/ports/sqlite-modern-cpp/portfile.cmake index a7b0f81ed..3171b5550 100644 --- a/ports/sqlite-modern-cpp/portfile.cmake +++ b/ports/sqlite-modern-cpp/portfile.cmake @@ -11,11 +11,10 @@ vcpkg_extract_source_archive(${ARCHIVE}) file(INSTALL ${SOURCE_PATH}/hdr/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
-message("Download license...")
vcpkg_download_distfile(LICENSE
URLS https://raw.githubusercontent.com/aminroosta/sqlite_modern_cpp/1d7747fcbb16325ec6673477b06f0c780de24a27/License.txt
FILENAME "sqlite_modern_cpp-2.4-license-mit.txt"
SHA512 4ffc41d14902b37841463b9e9274537cb48523a7ab7e5fbbbd14a01820d141e367851b0496aa18546ddab96100e7381db7fc35621c795a97c3290b618e18a8bd
)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp)
-file(RENAME ${LICENSE} ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp/copyright)
+file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/sqlite-modern-cpp RENAME copyright)
|
