mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:29:07 +08:00
08c951fef9
* [many ports] Upgrades to 2020.02.08 * Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl * Update ci baseline file Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
15 lines
730 B
CMake
15 lines
730 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO nothings/stb
|
|
REF c72a95d766b8cbf5514e68d3ddbf6437ac9425b1
|
|
SHA512 2be9b2d7848fca133d5733ebb0fdd1f357195f38a2f2b471af3657468f00a75cc94f029ace6127e748da80e0f86933c16a554593a21d8a9057b7691d39facf4b
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
|
|
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
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})
|