mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 19:59:06 +08:00
8652ccf0ee
* [stb] Update to 2021-09-10 * Update stb's dependees * Add license fields to sfml and libtcod * Fix broken patch for libtcod * Use `version-date` instead of `version` Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
31 lines
793 B
CMake
31 lines
793 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO libtcod/libtcod
|
|
REF 1.20.1
|
|
SHA512 bef3751dd1b190769163ff7c188479fe100d425fa98d3f0f97a3a81045fe0f0c24690b64bcde29f7af1eb7fd34915371223146598b1f0cab173e69a78c1dfc76
|
|
HEAD_REF develop
|
|
PATCHES
|
|
stb-headers.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DCMAKE_INSTALL_INCLUDEDIR=${CURRENT_PACKAGES_DIR}/include
|
|
-DLIBTCOD_SDL2=find_package
|
|
-DLIBTCOD_ZLIB=find_package
|
|
-DLIBTCOD_GLAD=find_package
|
|
-DLIBTCOD_LODEPNG=find_package
|
|
-DLIBTCOD_UTF8PROC=vcpkg
|
|
-DLIBTCOD_STB=vcpkg
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|