Rémy Tassoux 2c26c9aff1
[imgui] Update to 1.89.1 (#27838)
* [imgui] Update to 1.89

* [imgui] Update version files

* [imgui] Update to 1.89.1

* [imgui] Update version files

* [ogre] Fix build failure on imgui 1.89

* [ogre] Update version files

* [imgui-sfml] Fix build failure on imgui 1.89

* [imgui-sfml] Update version files

* [milerius-sfml-imgui] Fix build failure on imgui 1.89

* [milerius-sfml-imgui] Update version files

* [imgui] Modernize port

* [imgui] Update version files

* bump port version

* version

* version... again

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2022-11-28 15:46:08 -08:00

25 lines
743 B
CMake

vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Milerius/imgui-sfml-shared
REF 1.1
SHA512 191184f7b302f643bd7c241b69d9f9edc0d03c6f5a0b3a49f57ac84f3828202f8065291fb17993073a2c07f1237ba491de677c47e2f8160dc70ea77f20eb1946
HEAD_REF master
PATCHES
FixFindPackageIssue.patch
cpp11.patch
fix-imgui-dependency.patch
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/milerius-sfml-imgui)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)