mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 16:56:30 +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>
16 lines
767 B
CMake
16 lines
767 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO nothings/stb
|
|
REF af1a5bc352164740c1cc1354942b1c6b72eacb8a # committed on 2021-09-10
|
|
SHA512 5937baa1a9b7342ddc0e41c37ba0ea6b0c878f670a81b55bb124681e6b5e381fdc1d9557c96637e3ba082d6d968ed67a78b47f16aa5555c1c43394d1f9e57f2d
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(GLOB HEADER_FILES "${SOURCE_PATH}/*.h")
|
|
file(COPY ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/FindStb.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|