mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 14:48:09 +08:00
58e8c96de0
* [entt] inital port * [entt] Remove unneeded vcpkg_configure_cmake step
19 lines
605 B
CMake
19 lines
605 B
CMake
#header-only library
|
|
include(vcpkg_common_functions)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO skypjack/entt
|
|
REF v2.4.2
|
|
SHA512 fd532f2c180c328d396f557386b70e961c122af11e379ce57db3709d20345280ada200dadde136ae3557ad25daa944d8a86f7868cd0bedea78427d42c27d6e6d
|
|
)
|
|
|
|
file(INSTALL
|
|
${SOURCE_PATH}/src/entt
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
|
)
|
|
|
|
# Handle copyright/readme/package files
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/entt RENAME copyright)
|
|
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/entt)
|