[palsigslot] Update to 1.2.1 (#21473)

* Update palsigslot to 1.2.1

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-11-17 21:24:43 +01:00 committed by GitHub
parent d602829265
commit 4b38e91e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 17 deletions

View File

@ -1,26 +1,25 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO palacaze/sigslot
REF v1.2.0
SHA512 6a6fb862a9eeea78732f2191916c7384a4bcb65e42c948f726459ee3cb446f90c4bd18c7c94ee4f9b15c81c5aa729094013805161d532c2284d9e77cdffaa468
REF v1.2.1
SHA512 cd79985a09ad41562dc8e582d30bc9df0fdc9409ee3676919b56d0d70a6c1af9414587b61977d2fa2ba763ef8df65b30c7b7dc883629e016660baeb998e708f5
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DSIGSLOT_COMPILE_EXAMPLES=OFF
-DSIGSLOT_COMPILE_TESTS=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/PalSigslot TARGET_PATH share/PalSigslot)
vcpkg_cmake_config_fixup(PACKAGE_NAME PalSigslot CONFIG_PATH lib/cmake/PalSigslot)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug
${CURRENT_PACKAGES_DIR}/lib
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,4 +0,0 @@
The package palsigslot is compatible with built-in CMake targets:
find_package(PalSigslot CONFIG REQUIRED)
target_link_libraries(main PRIVATE Pal::Sigslot)

View File

@ -1,6 +1,16 @@
{
"name": "palsigslot",
"version-string": "1.2.0",
"version": "1.2.1",
"description": "A header-only, thread safe implementation of signal-slots for C++.",
"homepage": "https://github.com/palacaze/sigslot"
"homepage": "https://github.com/palacaze/sigslot",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -5089,7 +5089,7 @@
"port-version": 0
},
"palsigslot": {
"baseline": "1.2.0",
"baseline": "1.2.1",
"port-version": 0
},
"pango": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dd7ff9df2ee3a39656ab22a6fc6f210afa843513",
"version": "1.2.1",
"port-version": 0
},
{
"git-tree": "e9a60795ed6d2384819646000af70ab33604184b",
"version-string": "1.2.0",