mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 16:10:24 +08:00
20 lines
706 B
CMake
20 lines
706 B
CMake
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO SamuelMarks/curl-simple-https
|
||
|
REF 5a115053ba4d249fc1af22c3673b4d014e56bcf5
|
||
|
SHA512 6274bfeec5235d39c627850b1b6ef03c3f1982c74f937b604137cf3cf87e982f971c4681760b42926a3fb15bc8268f2fa48c197919516066d73f53425aa24545
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
"-DBUILD_CLI=OFF"
|
||
|
)
|
||
|
vcpkg_cmake_install()
|
||
|
file(INSTALL "${SOURCE_PATH}/cmake/License.txt"
|
||
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
||
|
RENAME copyright)
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
|
||
|
"${CURRENT_PACKAGES_DIR}/debug/share")
|