2017-08-10 03:31:51 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO nothings/stb
|
2020-10-14 04:17:32 +08:00
|
|
|
REF b42009b3b9d4ca35bc703f5310eedc74f584be58 # accessed on 2020-09-14
|
|
|
|
SHA512 a9ba80d19dae4e527171bb02e1caa4d3eb0704cdf7f8fef1a7a09e6b05c65b829b0aa580f469f158a39bf13018289f40c1680ab5c22bfa5e932bff94eced475d
|
2017-08-10 03:31:51 +08:00
|
|
|
HEAD_REF master
|
2016-09-20 05:48:06 +08:00
|
|
|
)
|
|
|
|
|
2016-09-29 08:05:56 +08:00
|
|
|
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
|
2016-09-20 07:37:31 +08:00
|
|
|
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
2019-10-09 20:35:08 +08:00
|
|
|
|
|
|
|
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})
|