mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 16:49:14 +08:00
11e79b1072
* [vsgimgui] New port * Fix indentation * Fix version * Remove files through portfile instead of patch * Update version * Add patch to remove font texture creation. The Vulkan backend now does this automatically. --------- Co-authored-by: Cheney-Wang <850426846@qq.com>
22 lines
754 B
CMake
22 lines
754 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO vsg-dev/vsgImGui
|
|
REF "v${VERSION}"
|
|
SHA512 8f3fca47ed7fd4b0a43eaff190457a3e1cf20355f69dd5000bd9f01218855f658fd934ec2abe8b768c11d3c1389a652cdafd9f0b589392878e666b4acd86fc70
|
|
HEAD_REF master
|
|
PATCHES
|
|
devendor.patch
|
|
remove-manual-font-creation.patch
|
|
)
|
|
|
|
file(REMOVE "${SOURCE_PATH}/include/vsgImGui/imgui.h")
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME "vsgImGui" CONFIG_PATH "lib/cmake/vsgImGui")
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|