vcpkg/ports/so5extra/portfile.cmake
eao197 04a8c2d3b4
[sobjectizer,so5extra] update to 5.7.4 and 1.5.1 (#24729)
* SObjectizer and so5extra updated to the latest versions.

* Versions of so-5.7.4 and so5extra-1.5.1 added to baseline.
2022-05-17 16:56:09 -07:00

21 lines
673 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stiffstream/so5extra
REF 3105cfdaccf2609765f19cd9bc6173375a1ee18d # v.1.5.1
SHA512 a53734afcc591cf114e654e5f798b973faa1c37926a18e71728571b6762133001147db5d92b872f5d63927c15e394b8c6f33968aa6f0ee23038fc94a271b9b85
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/dev/so_5_extra"
OPTIONS
-DSO5EXTRA_INSTALL=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/so5extra)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/so5extra" RENAME copyright)