vcpkg/ports/saucer/portfile.cmake
Noah ca8bde3748
[saucer, lockpp] add new port (#25111)
* [saucer] add new port

[saucer] add lockpp dependency

beleg

* [lockpp] add new port

* [saucer] update ref

* [saucer] only support static

* fix: revert cibaseline

* refactor: also disable uwp

* [saucer,lockpp] remove superflous dependencies

* [lockpp] update version

* [saucer] update to 1.0.0

* [saucer] specifiy only static library

* [saucer] bump ref

* [saucer] remove unused dependency

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* [saucer] use vcpkg webview2

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-06-16 15:27:28 -07:00

21 lines
683 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO saucer/saucer
REF 4d41e0f356c5b95f77803cdb760a3c01eac0aabd
SHA512 b5fe7484c80f0efde3c9f445a3a38421aff48d589ee27778495b501de4d232da44d55072664371ade79891ea7218ab1ddab385e2316b7ae20b5c32cd2332dd56
HEAD_REF dev
PATCHES "unofficial-webview2.patch"
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS -Dsaucer_prefer_remote=OFF -Dsaucer_remote_webview2=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)