2019-10-29 01:57:37 +08:00
|
|
|
vcpkg_from_github(
|
2019-10-08 01:35:13 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-10-29 01:57:37 +08:00
|
|
|
REPO stiffstream/so5extra
|
2022-05-18 07:56:09 +08:00
|
|
|
REF 3105cfdaccf2609765f19cd9bc6173375a1ee18d # v.1.5.1
|
|
|
|
SHA512 a53734afcc591cf114e654e5f798b973faa1c37926a18e71728571b6762133001147db5d92b872f5d63927c15e394b8c6f33968aa6f0ee23038fc94a271b9b85
|
2019-10-08 01:35:13 +08:00
|
|
|
)
|
2018-11-12 21:20:20 +08:00
|
|
|
|
2022-01-08 06:58:29 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}/dev/so_5_extra"
|
2018-11-12 21:20:20 +08:00
|
|
|
OPTIONS
|
|
|
|
-DSO5EXTRA_INSTALL=ON
|
|
|
|
)
|
|
|
|
|
2022-01-08 06:58:29 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/so5extra)
|
2018-11-12 21:20:20 +08:00
|
|
|
|
2022-01-08 06:58:29 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
|
2018-11-12 21:20:20 +08:00
|
|
|
|
2022-01-08 06:58:29 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/so5extra" RENAME copyright)
|
2020-01-23 04:17:15 +08:00
|
|
|
|