mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 17:41:47 +08:00
53219b7c4e
* add feature * update version * del webview2 * update version * del feature * update version * update to 2.0.0 * udpare version * update verison * update version * update to 2.1.0 * update version * add dependency * update version * delete version * update to 2.6 * update version
27 lines
706 B
CMake
27 lines
706 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO saucer/saucer
|
|
REF "v${VERSION}"
|
|
SHA512 29abb465a888aa4284795e293624598c09e0ba690bb430adb7a2122d82985daa1cfcfd594120f5657fc70349f8480e63554d72bff1b23f9dca86bcdbb930d953
|
|
HEAD_REF dev
|
|
PATCHES
|
|
fix_findpkg.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
${BACKEND_OPTION}
|
|
-Dsaucer_prefer_remote=OFF
|
|
-Dsaucer_remote_webview2=OFF
|
|
MAYBE_UNUSED_VARIABLES
|
|
saucer_remote_webview2
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|