vcpkg/ports/flash-runtime-extensions/portfile.cmake
al-sabr 9e50a7c8c3
[FlashRuntimeExtensions] Add new port (#22171)
* Initial commit with a working port on Windows.

* Added version file.

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/flash-runtime-extensions/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/flash-runtime-extensions/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/flash-runtime-extensions/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Fixed address.

* Fixed url for original port.

* format vcpkg.json

* update version

* Removed comma.

* add supports

* update version

* Removing folder fixing vcpkg build.

* Changed hash value and version.

* Fixed baseline hash an version.

* Update ports/flash-runtime-extensions/portfile.cmake

* Update ports/flash-runtime-extensions/portfile.cmake

* added vcpkg x-add-version flash-runtime-extensions --overwrite-version

* update veersion

* update supports

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-01-20 11:01:04 -08:00

22 lines
707 B
CMake

set(VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES enabled)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO al-sabr/FlashRuntimeExtensions
REF v2.4
SHA512 16db340a9c8d868c64b9771e3ac9a20e775fa145f36158e798733b788fd99d1ac101bfae93b8f88b0e5a0a530e0261c1fbdf7d367031dd3108c14ee00a106c10
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")