vcpkg/ports/so5extra/portfile.cmake
eao197 e58d3f01f1
[sobjectizer] Update to 5.8.0 (so5extra updated to 1.6.0) (#32321)
* SObjectizer updated to 5.8.0, so5extra to 1.6.0.

* x-add-version applied for SObjectize-5.8.0 and so5extra-1.6.0.

* SObjectizer updated to v.5.8.0.1.

* x-add-version for SObjectizer-5.8.0.1

* Fix version DB

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-07-13 10:21:06 -07:00

21 lines
637 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO stiffstream/so5extra
REF "v.${VERSION}"
SHA512 7dc632158e244ed82ec4220c022c8172cbb29fbf2176ed0899a17d655bcf047080dbaf8b35e6db666e071141bb59db140d2363eeb0e63b163988a507053c3075
)
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)