2017-08-10 03:31:51 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO nothings/stb
|
2022-05-17 03:41:17 +08:00
|
|
|
REF af1a5bc352164740c1cc1354942b1c6b72eacb8a # committed on 2021-09-10
|
|
|
|
SHA512 5937baa1a9b7342ddc0e41c37ba0ea6b0c878f670a81b55bb124681e6b5e381fdc1d9557c96637e3ba082d6d968ed67a78b47f16aa5555c1c43394d1f9e57f2d
|
2017-08-10 03:31:51 +08:00
|
|
|
HEAD_REF master
|
2016-09-20 05:48:06 +08:00
|
|
|
)
|
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
file(GLOB HEADER_FILES "${SOURCE_PATH}/*.h")
|
|
|
|
file(COPY ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
2019-10-09 20:35:08 +08:00
|
|
|
|
2022-04-20 05:31:08 +08:00
|
|
|
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)
|