vcpkg/ports/rtmfp-cpp/portfile.cmake
as-shura 62fb5ef704
[rtmfp-cpp] Added rtmfp-cpp library (#29442)
* Added rtmfp-cpp library.

* Fix version database.

* Added baseline.

* Fixed few things.

* Update version database

* Removed ref id.

* DB update.

* Reset the REF and HEAD_REF

* DB Update.

* Changed old name for new one.

* DB update.

* Update ports/rtmfp-cpp/portfile.cmake

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>

* Update ports/rtmfp-cpp/portfile.cmake

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>

* Changed version.

* Bump version in DB.

* Update version database

* Small modification.

* vcpkg x-add-version --overwrite-version --all

* New hash.

* DB update.

* Fix license.

* DB update.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
2023-03-02 12:17:54 -08:00

23 lines
655 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO zenomt/rtmfp-cpp
REF "v${VERSION}"
SHA512 e83df63d01207300f53dcbece150e8c2db8630f19a5b477292285833ad3406a09037c3055181b9f67b6a6a0f528e1c36f72577c86451591161fd3ccd945f5841
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rtmfp)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
set(LICENSE_FILES "${SOURCE_PATH}/LICENSE")
# Copyright and license
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})