2021-01-13 11:57:22 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO palacaze/sigslot
|
2023-06-22 13:15:42 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 ed8614d9c2e418259b1bce6d0a528b54939700876969c5e8dfcfc466c167690180cb18324602f83d521c79dcba2565e5317647416b70cf8773860ab956d9b62f
|
2021-01-13 11:57:22 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-18 04:24:43 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-01-13 11:57:22 +08:00
|
|
|
OPTIONS
|
|
|
|
-DSIGSLOT_COMPILE_EXAMPLES=OFF
|
|
|
|
-DSIGSLOT_COMPILE_TESTS=OFF
|
|
|
|
)
|
|
|
|
|
2021-11-18 04:24:43 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-01-13 11:57:22 +08:00
|
|
|
|
2021-11-18 04:24:43 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME PalSigslot CONFIG_PATH lib/cmake/PalSigslot)
|
2021-01-13 11:57:22 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
2021-11-18 04:24:43 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
2021-01-13 11:57:22 +08:00
|
|
|
)
|
|
|
|
|
2023-06-22 13:15:42 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|