[msinttypes] required by #1343

This commit is contained in:
atkawa7 2017-06-28 11:52:22 -07:00
parent a7865b9d7a
commit 04e6031027
2 changed files with 16 additions and 0 deletions

3
ports/msinttypes/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: msinttypes
Version: 2017-06-26-f9e7c5758ed9e3b9f4b2394de1881c704dd79de0
Description: msinttypes is a package to provide missing ISO C9x compliant headers for Microsoft Visual Studio

View File

@ -0,0 +1,13 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO chemeris/msinttypes
REF 7636cabe55318824dc702d15b69711f5d7c30250
SHA512 1c3c350d12c6b69e1cb6469f742afc126d50fd92e137ecacdb8367e320350cd42d7d41fbb0aa38d6a13aefbef5308f9ec89825e9b80a932f552a889f63b35cb2
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/inttypes.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/stdint.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/stdint.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/msinttypes RENAME copyright)