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