2022-06-17 06:27:28 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO saucer/saucer
|
2023-11-09 01:36:24 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 29abb465a888aa4284795e293624598c09e0ba690bb430adb7a2122d82985daa1cfcfd594120f5657fc70349f8480e63554d72bff1b23f9dca86bcdbb930d953
|
2022-06-17 06:27:28 +08:00
|
|
|
HEAD_REF dev
|
2022-09-16 03:16:25 +08:00
|
|
|
PATCHES
|
2023-11-09 01:36:24 +08:00
|
|
|
fix_findpkg.patch
|
2022-06-17 06:27:28 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2023-03-25 14:05:39 +08:00
|
|
|
OPTIONS
|
|
|
|
${BACKEND_OPTION}
|
|
|
|
-Dsaucer_prefer_remote=OFF
|
|
|
|
-Dsaucer_remote_webview2=OFF
|
2023-11-09 01:36:24 +08:00
|
|
|
MAYBE_UNUSED_VARIABLES
|
|
|
|
saucer_remote_webview2
|
2022-06-17 06:27:28 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2023-11-09 01:36:24 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|