2020-05-16 05:11:26 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2019-09-04 05:45:31 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO eliasdaler/imgui-sfml
|
2019-09-11 04:52:21 +08:00
|
|
|
REF v2.1
|
|
|
|
SHA512 134c49e9c57bc4d3882d99a52ec87f74c11d2f3134501c79b20bce4612f315f2e3f33a521597b387ca8f91942cf2b82ec9f4a8b1672a700e7233a9758897b6d0
|
2019-09-04 05:45:31 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
2019-09-11 04:52:21 +08:00
|
|
|
0001-fix_find_package.patch
|
|
|
|
0002-fix_imgui_config.patch
|
|
|
|
0003-fix_osx.patch
|
2020-05-16 05:11:26 +08:00
|
|
|
004-fix-find-sfml.patch
|
2019-09-04 05:45:31 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2019-09-11 04:52:21 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ImGui-SFML)
|
2020-05-16 05:11:26 +08:00
|
|
|
|
2019-09-04 05:45:31 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
2020-05-16 05:11:26 +08:00
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|